How to check residuals in UDF for dynamic mesh?

 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 25, 2017, 14:00 How to check residuals in UDF for dynamic mesh? #1 New Member   Prikane Join Date: Mar 2016 Posts: 28 Rep Power: 6 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, 07:52
#2
New Member

Join Date: Apr 2019
Posts: 24
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

 May 6, 2019, 08:26 #3 New Member   Prikane Join Date: Mar 2016 Posts: 28 Rep Power: 6 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, 09:33 #4 New Member   Join Date: Apr 2019 Posts: 24 Rep Power: 2 Thank you

 Tags check residuals, convergence, fluent, udf