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/)
-   -   Chtmultiregionfoam Error (https://www.cfd-online.com/Forums/openfoam-solving/207699-chtmultiregionfoam-error.html)

uyelken September 30, 2018 15:20

Chtmultiregionfoam Error
 
Hi guys,

Im using openfoam 2.1.1 and mixed foam of chtmultiregionfoam and ddtfoam(ettner). I have cylindrical 3 region innerWall,outerWall and fuelMixture. When i give zeroGradient for T between walls and fuelMixture it works without error. But when i give this BC below i take error. Or when i give fixedGradient it works!

type compressible::turbulentTemperatureCoupledBaffleMix ed;
value uniform 293;
neighbourFieldName T;
K basicThermo;
KName none;


The error is:
Code:

[14] #0  Foam::error::printStack(Foam::Ostream&) in "/home/workstation/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[14] #1  Foam::sigFpe::sigHandler(int) in "/home/workstation/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[14] #2 
[14]  at sigaction.c:0
[14] #3  Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) in "/home/workstation/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[14] #4  void Foam::sqrt<Foam::fvPatchField>(Foam::FieldField<Foam::fvPatchField, double>&, Foam::FieldField<Foam::fvPatchField, double> const&) at ~/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/scalarFieldField.C:107
[14] #5  void Foam::sqrt<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ~/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/GeometricScalarField.C:450
[14] #6  Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::sqrt<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) at ~/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/GeometricScalarField.C:450
[14] #7 
[14]  at ~/cht_ddt_solver/chtDdtFoam/fluid/XiEqn.H:73
[14] #8  __libc_start_main in "/lib64/libc.so.6"
[14] #9 
[14]  in "/home/workstation/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/chtDdtFoam"
[ws:17157] *** Process received signal ***
[ws:17157] Signal: Floating point exception (8)
[ws:17157] Signal code:  (-6)
[ws:17157] Failing at address: 0x3e800004305
[ws:17157] [ 0] /lib64/libc.so.6() [0x3a93c359b0]
[ws:17157] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3a93c35935]
[ws:17157] [ 2] /lib64/libc.so.6() [0x3a93c359b0]
[ws:17157] [ 3] /home/workstation/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam4sqrtERNS_5FieldIdEERKNS_5UListIdEE+0x30) [0x7fa8daed16d0]
[ws:17157] [ 4] chtDdtFoam(_ZN4Foam4sqrtINS_12fvPatchFieldEEEvRNS_10FieldFieldIT_dEERKS4_+0x57) [0x4c108a]
[ws:17157] [ 5] chtDdtFoam(_ZN4Foam4sqrtINS_12fvPatchFieldENS_7volMeshEEEvRNS_14GeometricFieldIdT_T0_EERKS6_+0x5e) [0x4b0a0e]
[ws:17157] [ 6] chtDdtFoam(_ZN4Foam4sqrtINS_12fvPatchFieldENS_7volMeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKS8_+0xfd) [0x498673]
[ws:17157] [ 7] chtDdtFoam() [0x47fba2]
[ws:17157] [ 8] /lib64/libc.so.6(__libc_start_main+0xf5) [0x3a93c21735]
[ws:17157] [ 9] chtDdtFoam() [0x43e079]
[ws:17157] *** End of error message ***


Tobi October 1, 2018 01:46

Hi,

there should be a division by zero
Code:

Signal: Floating point exception
However, I cannot give you more information based on lack information you provided. Just one hint. We are already in version 6. So almost four versions further; especially for the CHT solver, a lot changed. I would suggest switching to the latest version before proceeding.


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