CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

How to use 2 macros at the same time?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2017, 07:19
Default How to use 2 macros at the same time?
  #1
New Member
 
Gene
Join Date: Mar 2017
Posts: 13
Rep Power: 9
gzsakuraz is on a distinguished road
Hi
I am working on 2 macros which are EXECUTE_AT_END and HEAT_FLUX.
The problem is I want to use EXECUTE_AT_END to analyze the data after each time step and apply HEAT FLUX into the face if it matches my condition after time step.

Is it possible to do it?
gzsakuraz is offline   Reply With Quote

Old   April 21, 2017, 02:04
Default
  #2
D.M
Member
 
Davoud Malekian
Join Date: Jan 2016
Posts: 53
Rep Power: 10
D.M is on a distinguished road
try to use C_UDMI or F_UDMI .
the parameter which you are looking for is obtained by using DEFINE_EXECUTE_AT_END, after finding the parameter, save it in C_UDMI(c,t,0) or F_UDMI and use the C_UDMI(c,t,0) for your future calculations (i mean in next MACRO).
D.M is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Elastic or Plastic Deformations in OpenFOAM NickolasPl OpenFOAM Pre-Processing 36 September 23, 2023 09:22
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 6, 2023 00:48
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 05:13
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 12:08
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50


All times are GMT -4. The time now is 19:39.