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

How to check residuals in UDF for dynamic mesh?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2017, 14:00
Default How to check residuals in UDF for dynamic mesh?
  #1
New Member
 
Prikane
Join Date: Mar 2016
Posts: 28
Rep Power: 10
Prikane is on a distinguished road
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
Prikane is offline   Reply With Quote

Old   May 6, 2019, 07:52
Default
  #2
New Member
 
Join Date: Apr 2019
Posts: 28
Rep Power: 7
ana86 is on a distinguished road
Quote:
Originally Posted by Prikane View Post
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?
ana86 is offline   Reply With Quote

Old   May 6, 2019, 08:26
Default
  #3
New Member
 
Prikane
Join Date: Mar 2016
Posts: 28
Rep Power: 10
Prikane is on a distinguished road
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
Prikane is offline   Reply With Quote

Old   May 8, 2019, 09:33
Default
  #4
New Member
 
Join Date: Apr 2019
Posts: 28
Rep Power: 7
ana86 is on a distinguished road
Thank you
ana86 is offline   Reply With Quote

Reply

Tags
check residuals, convergence, fluent, udf


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
How to check convergence in UDF for dynamic mesh Prikane FLUENT 0 October 21, 2016 03:25
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
Mesh size and solver residuals... Scott CFX 5 December 15, 2008 17:10


All times are GMT -4. The time now is 06:48.