|
[Sponsors] | |||||
How to write a UDF that remains the solver in the current step of time? |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
mohammad karimi pour
Join Date: Oct 2018
Posts: 6
Rep Power: 9 ![]() |
Question: How can I make solver not to further in time after Max Iteration/Time step is done, and repeat the calculation with new B.C.s at same step of time util a criterion is met?
more information: I have two simple equations which determine the pressure and velocity at the inlet and outlet of my CFD domain. Starting with an initial guess for these values, I want to couple these values to the result of Fluent and in each time step perform a loop till the values predicted by equations drop in a specific range of those predicted by Fluent. So, basically I want to perform a loop without solver going to the next time step until a certain residual is reached. Please notice that in a steady state solver DEFINE_PROFILE and DEFINE_ADJUST updates every iteration and in a transient solver every time step. |
|
|
|
|
|
![]() |
| Tags |
| define_profile, fluent, loop, timestep, udf |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 6, 2023 00:48 |
| [Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 03:36 |
| GenerateVolumeMesh Error - Surface Wrapper Self Interacting (?) | AndreP | STAR-CCM+ | 10 | August 2, 2018 08:48 |
| pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
| simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |