|
[Sponsors] |
How to call residual in User CEL function/ User Junction Box |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 8, 2019, 15:59 |
How to call residual in User CEL function/ User Junction Box
|
#1 |
Member
phd
Join Date: Oct 2013
Posts: 76
Rep Power: 13 |
Hi, guys
I need to implement residual of the previous (Pseudo) time step in the User CEL function/User Junction Box via User Fortran to carry on my simulation. However I cannot find residual in the Variable list in CFX pre. Is there any method that we can call the residual of the previous (Pseudo) time step in User Fortran? I’ve already tick the “Output Equation Residual” option in the Output control and use Resid normalisation type = 0 in the expert parameter to ensure the residual at each nodes will be output in the results file. Thank you very much! |
|
April 8, 2019, 16:48 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
There is no documented API to access the equation residuals. Neither via CEL function, and even less Junction Box.
May I ask what is your objective with handing the residuals? Non-linear iterations modifications of some sort? |
|
April 11, 2019, 06:55 |
|
#3 |
Member
phd
Join Date: Oct 2013
Posts: 76
Rep Power: 13 |
Hi, Oqaque,
Thank you for your answering. I'm using residual to do some validation for the solver. It is frustrating that we cannot handling residual in CFX. T_T |
|
Tags |
user fortran |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free surface issues with interDyMFoam for hydroturbine | oumnion | OpenFOAM Running, Solving & CFD | 0 | October 6, 2017 15:05 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |
should Courant number always be kept below 1? | wc34071209 | OpenFOAM Running, Solving & CFD | 16 | March 9, 2014 20:31 |
Error while running rhoPisoFoam.. | nileshjrane | OpenFOAM Running, Solving & CFD | 8 | August 26, 2010 13:50 |