|
[Sponsors] |
April 1, 2015, 05:56 |
Define_Profile() position in loop
|
#1 |
New Member
Join Date: Oct 2009
Posts: 25
Rep Power: 16 |
I'm not sure about the position of Define_Profile() position in the Solution Procedure loop.
Is it executed at the same time as Update Properties macros past Solver and before Define_Adjust() macro? What would happen if for instance the temperature of the same zone is set in Define_Profile() and Define_Adjust() macros? Which values take effect? |
|
April 1, 2015, 06:34 |
|
#2 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
The User-Defined BCs (where you use the DEFINE_PROFILE macro) are applied at the "Update Properties" step.
Convergence is checked after this "Update Properties" step and then the next loop begins. The DEFINE_PROFILE values would be used for the convergence check, and then the DEFINE_ADJUST values would be used for the solver step of the next loop. |
|
April 2, 2015, 02:01 |
Thank you 'e'
|
#3 |
New Member
Join Date: Oct 2009
Posts: 25
Rep Power: 16 |
I needed a decisive answer. But one more question. The step: "Update Properties including User Define Properites" seems a very broad expression. I suppose most macros excluding General Purpose Macros are comprised in this step? Am I right? Is Define_Source() also included here?
|
|
April 2, 2015, 02:28 |
|
#4 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
Source terms are applied (with the DEFINE_SOURCE macro) at their respective equations. Momentum source terms are applied when the momentum equations are solved, energy source terms are applied when the energy equation is solved etc.
|
|
April 2, 2015, 03:15 |
Thanks a lot 'e'
|
#5 |
New Member
Join Date: Oct 2009
Posts: 25
Rep Power: 16 |
---------------------------
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 02:36 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 02:09 |
[CAD formats] my stl surface is seen as just a line | rcastilla | OpenFOAM Meshing & Mesh Conversion | 2 | January 6, 2010 01:30 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 01:29 |
NACA0012 geometry/design software needed | Franny | Main CFD Forum | 13 | July 7, 2007 15:57 |