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

Fluent udf execution while using the coupled solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2021, 12:35
Default Fluent udf execution while using the coupled solver
  #1
New Member
 
Adrián García
Join Date: Nov 2020
Posts: 6
Rep Power: 6
Tacitus Kilgore is on a distinguished road
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.
Tacitus Kilgore 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
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


All times are GMT -4. The time now is 20:52.