# How to check residuals in UDF for dynamic mesh?

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 LinkBack Thread Tools Search this Thread Display Modes
 May 25, 2017, 15:00 How to check residuals in UDF for dynamic mesh? #1 New Member   Prikane Join Date: Mar 2016 Posts: 28 Rep Power: 5 Dear colleagues, I am working on transient problem in Fluent. After applying UDF for dynamic mesh and after finishing first time step (with 20 iterations per time step), on the beginning of second time step I should check whether the solution converged (residuals < 0.001). If solution did not converge I should not move mesh and if solution convergence happened boundary nodes on which UDF for dynamic mesh is applied should move. And this procedure should repeat each next step. How to check equation residuals in UDF for dynamic mesh - is there any function? Or is there any other way? For example, can I somehow set that my UDF for dynamic mesh is only applied when solution of convergence is achieved? Many thanks in advance for helping me. Kind regards, Prikane

May 6, 2019, 08:52
#2
New Member

Join Date: Apr 2019
Posts: 18
Rep Power: 2
Quote:
 Originally Posted by Prikane Dear colleagues, I am working on transient problem in Fluent. After applying UDF for dynamic mesh and after finishing first time step (with 20 iterations per time step), on the beginning of second time step I should check whether the solution converged (residuals < 0.001). If solution did not converge I should not move mesh and if solution convergence happened boundary nodes on which UDF for dynamic mesh is applied should move. And this procedure should repeat each next step. How to check equation residuals in UDF for dynamic mesh - is there any function? Or is there any other way? For example, can I somehow set that my UDF for dynamic mesh is only applied when solution of convergence is achieved? Many thanks in advance for helping me. Kind regards, Prikane

Did you solve your problem?

 May 6, 2019, 09:26 #3 New Member   Prikane Join Date: Mar 2016 Posts: 28 Rep Power: 5 Hey Ana86, Yes, I have solved the problem by following instructions given in the following two links: http://www.eureka.im/1087.html residual storage in FLUENT The explained procedure worked for me! Good luck! Kind regards, Prikane

 May 8, 2019, 10:33 #4 New Member   Join Date: Apr 2019 Posts: 18 Rep Power: 2 Thank you

 Tags check residuals, convergence, fluent, udf

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 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 OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Prikane FLUENT 0 October 21, 2016 04:25 [snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38 aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52 Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01 Scott CFX 5 December 15, 2008 18:10

All times are GMT -4. The time now is 13:40.

 Contact Us - CFD Online - Privacy Statement - Top