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/)
-   -   Segmentation fault in chtMultiRegionSimpleFoam (https://www.cfd-online.com/Forums/openfoam-solving/151622-segmentation-fault-chtmultiregionsimplefoam.html)

zerenz April 14, 2015 05:45

Segmentation fault in chtMultiRegionSimpleFoam
 
1 Attachment(s)
Hi everyone,

I have a 2D case (empty in 3rd direction) of two solid bodies embedded in a channel air flow.
Two elliptical bodies are heated from their bases. The air flow in the channel is at a lower temperature than the bodies so that there is to be a heat exchange between the two regions.

When I run the chtMultiRegionSimpleFoam, it runs for about 28 timesteps and then gives a "Foam::sigSegv::sigHandler" error. It gives this error when trying to calculate "kappaEff" which is called by the fluid-solid interface boundary condition "compressible::turbulentTemperatureCoupledBaffleMi xed".

Complete error is attached at the end.

I have included the case directory.

Thanks for any help,

ZZ


Code:

"Solving for solid region Pin2
#0  Foam::error::printStack(Foam::Ostream&) in "/softs/openfoam/2.3.0/openmpi/1.4.4-1/intel/2013_sp1.1.106/OpenFOAM-2.3.0/platforms/linux64IccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigSegv::sigHandler(int) in "/softs/openfoam/2.3.0/openmpi/1.4.4-1/intel/2013_sp1.1.106/OpenFOAM-2.3.0/platforms/linux64IccDPOpt/lib/libOpenFOAM.so"
#2 
 at sigaction.c:0
#3  at rhoThermo/rhoThermos.C:0
#4  Foam::heThermo<Foam::rhoThermo, Foam::pureMixture<Foam::constTransport<Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > >::kappaEff(Foam::Field<double> const&, int) const in "/softs/openfoam/2.3.0/openmpi/1.4.4-1/intel/2013_sp1.1.106/OpenFOAM-2.3.0/platforms/linux64IccDPOpt/lib/libfluidThermophysicalModels.so"
#5  Foam::compressible::RASModel::kappaEff(int) const in "/softs/openfoam/2.3.0/openmpi/1.4.4-1/intel/2013_sp1.1.106/OpenFOAM-2.3.0/platforms/linux64IccDPOpt/lib/libcompressibleRASModels.so"
#6  Foam::temperatureCoupledBase::kappa(Foam::Field<double> const&) const in "/softs/openfoam/2.3.0/openmpi/1.4.4-1/intel/2013_sp1.1.106/OpenFOAM-2.3.0/platforms/linux64IccDPOpt/lib/libcompressibleTurbulenceModel.so"
#7  at derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C:0
#8  Foam::mixedFvPatchField<double>::evaluate(Foam::UPstream::commsTypes) in "/softs/openfoam/2.3.0/openmpi/1.4.4-1/intel/2013_sp1.1.106/OpenFOAM-2.3.0/platforms/linux64IccDPOpt/lib/libfiniteVolume.so"
#9  at derivedFvPatchFields/mixedEnergy/mixedEnergyFvPatchScalarField.C:0
#10  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoeffs() at /softs/openfoam/2.3.0/openmpi/1.4.4-1/intel/2013_sp1.1.106/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/GeometricBoundaryField.C:480
#11  Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) at /softs/openfoam/2.3.0/openmpi/1.4.4-1/intel/2013_sp1.1.106/OpenFOAM-2.3.0/src/finiteVolume/lnInclude/fvMatrix.C:325
#12  at finiteVolume/laplacianSchemes/gaussLaplacianScheme/gaussLaplacianSchemes.C:0
#13  at finiteVolume/laplacianSchemes/gaussLaplacianScheme/gaussLaplacianSchemes.C:0
#14  Foam::fv::laplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/softs/openfoam/2.3.0/openmpi/1.4.4-1/intel/2013_sp1.1.106/OpenFOAM-2.3.0/platforms/linux64IccDPOpt/lib/libfiniteVolume.so"
#15  Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::laplacian<double, double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) at /softs/openfoam/2.3.0/openmpi/1.4.4-1/intel/2013_sp1.1.106/OpenFOAM-2.3.0/src/finiteVolume/lnInclude/fvmLaplacian.C:219
#16 
 at /softs/openfoam/2.3.0/openmpi/1.4.4-1/intel/2013_sp1.1.106/OpenFOAM-2.3.0/src/finiteVolume/lnInclude/fvmLaplacian.C:232
#17 
 at ~/OpenFOAM/zzeren-2.3.0/run/chtMultiRegionSimpleFoam/solid/solveSolid.H:7
#18  __libc_start_main in "/lib64/libc.so.6"
#19 
 in "/home/cenaero/zzeren/OpenFOAM/zzeren-2.3.0/platforms/linux64IccDPOpt/bin/chtMultiRegionSimpleFoam"
Segmentation fault (core dumped)


wyldckat May 16, 2015 11:56

Greetings ZZ,

Unfortunately you have not provided enough information. Please follow the instructions given here: http://www.cfd-online.com/Forums/ope...-get-help.html

With this much information, I would have to guess that:
  • the mesh is particularly bad for the simulation you're trying to do;
  • or the temperature differences are too big, at least for a steady-state simulation.
I also advise you to read/study the following threads/pages:
Good luck! Best regards,
Bruno


All times are GMT -4. The time now is 02:59.