CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Help with chtMultiRegionFoam (http://www.cfd-online.com/Forums/openfoam-solving/83260-help-chtmultiregionfoam.html)

jbvw96 December 21, 2010 13:07

Help with chtMultiRegionFoam
 
Hello,

I am having trouble diagnosing the issue I am having getting CHTmultirgeion foam running. I have had a few of these Floating Point exception errors now and I have been able to find mistakes in the boundary conditions. But now I'm stuck, here is the output: where should I be looking?

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6.x-05e66c6c0080
Exec : chtMultiRegionFoam
Date : Dec 21 2010
Time : 08:04:48
Host : jbrodie
PID : 4193
Case : /home/jonathan/OpenFOAM/OpenFOAM-1.6.x/run/snappyShellTube
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create fluid mesh for region domain0 for time = 0.001

Create fluid mesh for region internal for time = 0.001

Create solid mesh for region tube for time = 0.001

*** Reading fluid mesh thermophysical properties for region domain0

Adding to thermoFluid

Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>
Adding to rhoFluid

Adding to KFluid

Adding to UFluid

Adding to phiFluid

Adding to gFluid

Adding to turbulence

Selecting turbulence model type laminar
Adding to DpDtFluid

*** Reading fluid mesh thermophysical properties for region internal

Adding to thermoFluid

Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>
Adding to rhoFluid

Adding to KFluid

Adding to UFluid

Adding to phiFluid

Adding to gFluid

Adding to turbulence

Selecting turbulence model type laminar
Adding to DpDtFluid

*** Reading solid mesh thermophysical properties for region tube

Adding to rhos

Adding to cps

Adding to Ks

Adding to Ts

Region: domain0 Courant Number mean: 0 max: 129.5818
Region: internal Courant Number mean: 0 max: 111.2308
#0 Foam::error::printStack(Foam::Ostream&) in "/home/jonathan/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/jonathan/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/home/jonathan/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt/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 "/home/jonathan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/chtMultiRegionFoam"
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > Foam::operator/<Foam::fvsPatchField, Foam::surfaceMesh>(Foam::tmp<Foam::GeometricField< double, Foam::fvsPatchField, Foam::surfaceMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > const&) in "/home/jonathan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/chtMultiRegionFoam"
#6 Foam::solidRegionDiffNo(Foam::fvMesh const&, Foam::Time const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/jonathan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/chtMultiRegionFoam"
#7 main in "/home/jonathan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/chtMultiRegionFoam"
#8 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#9 _start at /build/buildd/eglibc-2.10.1/csu/../sysdeps/i386/elf/start.S:122
Floating point exception



Thanks for any ideas you could contribute

Jean El-Hajal December 22, 2010 12:43

check time step
 
Hi Jonathan,

You probably have to check the Boundary Condition and/or the time step. The courant Number should be < 0.5.

The error massage say Courant number > 100 !

Hope this can help you.

Jean

Bufacchi December 26, 2010 17:16

Hi Jonathan,
It seems to me you have a problem in your region definition. I see a domain0 in you log file, which shouldn't exist. I understand your regions are internal and tube, so you should use ./Allclean in your case directory to clean it up and then make sure all files and directories reflect only these two regions. Delete all directories you may find in 0, constants and system directories.

Regards,

Paulo


All times are GMT -4. The time now is 21:05.