CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   About LES model for compressible flows (https://www.cfd-online.com/Forums/openfoam-pre-processing/150805-about-les-model-compressible-flows.html)

Eric Brant March 30, 2015 05:00

About LES model for compressible flows
 
Hi, everyone. I recently study the LES model for compressible flows, but I don't know how to set 0, constant, system files according to a detail LES models such as OneEddyEqn, smagorinsky for cases. And I have met this error in OpenFOAM and I don't know why:
#0 Foam::error::printStack(Foam::Ostream&) in "/home/eric/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/home/eric/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) in "/home/eric/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#4
in "/home/eric/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/bin/rhoCentralFoam"
#5 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#6
in "/home/eric/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/bin/rhoCentralFoam"

What's more, for a wall condition, should I have to set "type wall function" instead of "type wall"? looking forward to your help. Thanks!!!

Eric Brant March 30, 2015 07:58

Trying to implement LES model in openFOAM
 
Hi, I am new to openFOAM. Today I try to do a case which is in $FOAM_TUTORIALS/compressible/rhoCentralFoam/forwardStep using LES oneEddyEqn model. I add LESproperties and thermoproperties and change simulationType to LESmodel in constant dictionary. And I also add k, alphaSgs, muSgs to 0 dictionary and add div(phi,k), div(rho,k) in fvScheme. Other values are not changed. But I have encountered an error:
#0 Foam::error::printStack(Foam::Ostream&) in "/home/eric/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/home/eric/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) in "/home/eric/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#4
in "/home/eric/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/bin/rhoCentralFoam"
#5 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#6
in "/home/eric/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/bin/rhoCentralFoam"
Does anyone know why? Good wished to all.


All times are GMT -4. The time now is 08:35.