|
[Sponsors] |
Fluent udf execution while using the coupled solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 1, 2021, 12:35 |
Fluent udf execution while using the coupled solver
|
#1 |
New Member
Adrián García
Join Date: Nov 2020
Posts: 6
Rep Power: 6 |
Hi,
I am conducting a TRANSIENT simulation where the usage of COUPLED SOLVER is mandatory, as the mesh is an overset one. The point is, I need to perform some computations within a UDF file which includes the so called DEFINE_PROFILE macro, which is actually adressed to a certain boundary whose static pressure is prescribed. In other words, I need the solver, for each time step, to compute every inner iteration this DEFINE_PROFILE macro, as it will calculate a newer value for static pressure on that boundary. However, I have started seeing how wrong things are happening, for instance, I have included a 'counter' variable within this DEFINE_PROFILE macro which should be incremented by one for every iteration within the time step. Unfortunately, this counter only takes value of 1, rather than the actual number of iterations. I would then like to ask you if while using COUPLED SOLVER, the DEFINE_PROFILE macro is only computed once before starting the P-V coupling iterative loop. I have tested this same UDF on a SEGREGATED SOLVER (SIMPLE) and it worked fine, with the counter taking the total number of iterations. According to Fluent UDF Guide the sequential algorithm should be the same for these two solvers but I would like someone to confirm me this. Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent and Python CFD code as coupled solver | lignorant | FLUENT | 0 | December 13, 2019 15:05 |
Lift and Drag pattern change wit FLUENT 16 and 13 PISO for same mesh n solver setting | arunraj | FLUENT | 0 | June 2, 2016 23:58 |
fluent divergence for no reason | sufjanst | FLUENT | 2 | March 23, 2016 17:08 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
How to disable a specific solver in FLUENT by UDF? | r.mojtaba | Fluent UDF and Scheme Programming | 0 | July 8, 2013 14:44 |