CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   mutRoughWallFunction not working in rhoSimpleFoam and kOmegaSST model (http://www.cfd-online.com/Forums/openfoam/81923-mutroughwallfunction-not-working-rhosimplefoam-komegasst-model.html)

aerothermal November 10, 2010 13:16

SOLVED - mutRoughWallFunction not working in rhoSimpleFoam and kOmegaSST model
 
Dear All,

My mutWallFunction was working properly to simulate the flow around a cylinder with heat transfer but the mutRoughWallFunction was giving Float Point Exception..... So I found the fix and am sharing with you here because I have seen some posts about this subject.

Code:

in "/opt/openfoam171/applications/bin/linux64GccDPOpt/rhoSimpleFoam"
Floating point exception

in RASProperties
Code:

RASModel      kOmegaSST;
turbulence    on;

in boundary condition mut file
Code:

    cylinder
    {
        type            mutRoughWallFunction;
        value          uniform 0.0;
        Ks                uniform 0.24;
        Cs                uniform 0.5;
    }

I found the fix for the issue. It is more related to run-time execution than models, parameters or inputs. You need to code in terminal where you are running OpenFOAM:

Code:

unset FOAM_SIGFPE
or

Code:

export FOAM_SIGFPE=false

http://www.cfd-online.com/Forums/ope...exception.html

http://www.cfd-online.com/OpenFOAM_D...tml?1201770596

Regards,


All times are GMT -4. The time now is 09:26.