CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   buoyantSimpleFoam Message error (https://www.cfd-online.com/Forums/openfoam-solving/63502-buoyantsimplefoam-message-error.html)

Khelian973 April 10, 2009 03:52

buoyantSimpleFoam Message error
 
Hello Foamers,

Im a beginner. I use OpenFoam 1.5 on Ubunto...
I would like to use the solver buoyantSimpleFoam for a case, so I started the tutorial. But i have this error message when i launch the solver

------------------------------------------------------------------
Create time

Create mesh for time = 0


Reading environmentalProperties
Reading thermophysical properties

Selecting thermodynamics package hThermo<pureMixture<constTransport<specieThermo<hC onstThermo<perfectGas>>>>>
Reading field U

Reading/calculating face flux field phi

Creating turbulence model

Selecting RAS turbulence model kEpsilon
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 0.85;
alphah 1;
alphak 1;
alphaEps 0.76923;
}

Calculating field g.h

Creating field pd


Starting time loop

Time = 1

DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 4.95158e-06, No Iterations 3
DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 7.32619e-06, No Iterations 3
DILUPBiCG: Solving for Uz, Initial residual = 1, Final residual = 4.95158e-06, No Iterations 3
#0 Foam::error::printStack(Foam::Ostream&) in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#4 void Foam::divide<Foam::fvsPatchField, Foam::surfaceMesh>(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/buoyantSimpleFoam"
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > Foam::operator/<Foam::fvsPatchField, Foam::surfaceMesh>(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > const&) in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/buoyantSimpleFoam"
#6 main in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/buoyantSimpleFoam"
#7 __libc_start_main in "/lib/libc.so.6"
#8 Foam::regIOobject::readIfModified() in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/buoyantSimpleFoam"
Floating point exception
----------------------------------------------------

I think it's probably due to the installation of the librairies, but im not really into it, so i would like to have a confirmation and the solution to solve the problem..
Thanks

hellorishi April 15, 2009 03:40

foamInstallationTest
 
maybe you can post the output of foamInstallationTest

if this is working without errors, try running icoFoam tutorial first. I also had problems with buoyantSimpleFoam and then I shifted to OF-1.5.x

Khelian973 April 15, 2009 04:24

foamInstallationTest
 
Hello Rishi
First, thanks for your answer...
I started by icoFoam, without any problems. I've tried severals tutorials solvers (icoFoam, turbFoam, buoyantFoam) and they worked but not buoyantSimpleFoam. And it is precisely the solver i need for my study:(

Here you are the results of my installation test. There are 2 No, but i dont know what it means ...


Checking basic setup...

-------------------------------------------------------------------------------

Shell: bash

Host: foamix

OS: Linux version 2.6.27-11-generic

-------------------------------------------------------------------------------





Checking main OpenFOAM env variables...

-------------------------------------------------------------------------------

Environment_variable Set_to_file_or_directory Valid Crit

-------------------------------------------------------------------------------

$WM_PROJECT_INST_DIR /DATA/Softs/OpenFOAM yes yes

$WM_PROJECT_USER_DIR /home/openfoam/OpenFOAM/openfoam-1.5 yes no

$WM_THIRD_PARTY_DIR /DATA/Softs/OpenFOAM/ThirdParty yes yes

-------------------------------------------------------------------------------





Checking the OpenFOAM env variables set on the PATH...

-------------------------------------------------------------------------------

Environment_variable Set_to_file_or_directory Valid Path Crit

-------------------------------------------------------------------------------

$WM_PROJECT_DIR /DATA/Softs/OpenFOAM/OpenFOAM-1.5 yes yes yes



$FOAM_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes yes

$FOAM_USER_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes no

$WM_DIR /DATA/Softs/OpenFOAM/OpenFOAM-1.5/wmake yes yes yes

-------------------------------------------------------------------------------





Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...

-------------------------------------------------------------------------------

Environment_variable Set_to_file_or_directory Valid Path Crit

-------------------------------------------------------------------------------

$FOAM_LIBBIN ...OAM/OpenFOAM-1.5/lib/linux64GccDPOpt yes yes yes

$FOAM_USER_LIBBIN ...OAM/openfoam-1.5/lib/linux64GccDPOpt yes yes no

$MPI_ARCH_PATH ...nmpi-1.2.6/platforms/linux64GccDPOpt yes yes yes

-------------------------------------------------------------------------------





Third party software

-------------------------------------------------------------------------------

Software Version Location

-------------------------------------------------------------------------------

gcc 4.3.1 ...penFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc

gzip 1.3.12 /bin/gzip

tar 1.20 /bin/tar

icoFoam 1.5 .../OpenFOAM-1.5/applications/bin/linux64GccDPOpt/icoFoam

-------------------------------------------------------------------------------





Checking networking...

-------------------------------------------------------------------------------

Action Result Crit

-------------------------------------------------------------------------------

Pinging_foamix Successful yes

Pinging_localHost Successful yes

Test_rsh: Unsuccessful_connection_refused* yes

Test_ssh: Successful yes

(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.



-------------------------------------------------------------------------------



Base configuration ok.



Critical systems ok.

hellorishi April 15, 2009 06:28

a guess: possibly epsilon is initialised to ZERO in 0 directory. Epsilon has to be non-zero.

try running the buoyantSimpleFoam with turbulence turned OFF and see if it runs.

Khelian973 April 15, 2009 08:01

Epsilon wasnt to ZERO and with the turbulence off, i have the same message...i double checked all my files to see a mistake but i dont find one...
is it possible to send you the case, and you try to run it for me ?... if it works on your computer, i will know that it's from my installation (if you have time of course)
thanks for helping me

hellorishi April 15, 2009 10:45

Hi Kyian

I saw your case. The problem is that the tutorial has one small error. P is initialised to 0.

Changing "p" file
internalField Uniform 10000;
solves the problem

hope this solves your problem.

regards
Rishi

Khelian973 April 16, 2009 04:57

hi, Thanks Rishi
the tutorial runs perfectly

Khelian973 May 25, 2009 04:07

Hi Foamers,

After the tutorials on buoyantSimpleFoam i've tried to run a simple case, already use in another solver (simpleFoam), but adding temperature in the flow.
This time the solver stops after reading the thermophysical properties. I dont understand how it's possible. I created the case copying the tutorial case of buoyantSimpleFoam.
If you have any suggestions...
Thansk in advance
Kyian

Here is the message i have
-------------------------
Create time


Create mesh for time = 0


Reading environmentalProperties

Reading thermophysical properties


Selecting thermodynamics package hThermo<pureMixture<constTransport<specieThermo<hC onstThermo<perfectGas>>>>>

#0 Foam::error::printStack(Foam::Ostream&) in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"

#1 Foam::sigFpe::sigFpeHandler(int) in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"

#2 ?? in "/lib/libc.so.6"

#3 Foam::hThermo<Foam::pureMixture<Foam::constTranspo rt<Foam::specieThermo<Foam::hConstThermo<Foam::per fectGas> > > > >::calculate() in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"

#4 Foam::hThermo<Foam::pureMixture<Foam::constTranspo rt<Foam::specieThermo<Foam::hConstThermo<Foam::per fectGas> > > > >::hThermo(Foam::fvMesh const&) in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"

#5 Foam::basicThermo::addfvMeshConstructorToTable<Foa m::hThermo<Foam::pureMixture<Foam::constTransport< Foam::specieThermo<Foam::hConstThermo<Foam::perfec tGas> > > > > >::New(Foam::fvMesh const&) in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"

#6 Foam::basicThermo::New(Foam::fvMesh const&) in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"

#7 main in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/buoyantSimpleFoam"

#8 __libc_start_main in "/lib/libc.so.6"

#9 Foam::regIOobject::readIfModified() in "/DATA/Softs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/buoyantSimpleFoam"

Floating point exception
-------------------------------------

Rachel June 2, 2009 13:26

One possible problem between different solvers is the use of Pressure units.

Kindly check the pressure units in both solver. It might be a cause of problem. Not sure.


All times are GMT -4. The time now is 13:23.