CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Segmentation fault in chtMultiRegionSimpleFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 14, 2015, 05:45
Default Segmentation fault in chtMultiRegionSimpleFoam
New Member
Join Date: Jan 2015
Posts: 1
Rep Power: 0
zerenz is on a distinguished road
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,


"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/"
#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/"
 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/"
#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/"
#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/"
#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/"
#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/"
#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
 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
 at ~/OpenFOAM/zzeren-2.3.0/run/chtMultiRegionSimpleFoam/solid/solveSolid.H:7
#18  __libc_start_main in "/lib64/"
 in "/home/cenaero/zzeren/OpenFOAM/zzeren-2.3.0/platforms/linux64IccDPOpt/bin/chtMultiRegionSimpleFoam"
Segmentation fault (core dumped)
Attached Files
File Type: zip (23.5 KB, 5 views)

Last edited by wyldckat; May 16, 2015 at 11:29. Reason: Added [CODE][/CODE] markers
zerenz is offline   Reply With Quote

Old   May 16, 2015, 11:56
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,978
Blog Entries: 39
Rep Power: 108
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings ZZ,

Unfortunately you have not provided enough information. Please follow the instructions given here:

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,
wyldckat is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation fault when running dieselFoam or dieselEngineFoam in parallel francesco OpenFOAM Bugs 4 May 2, 2017 21:59
Segmentation fault when running in parallel Pj. OpenFOAM Running, Solving & CFD 3 April 8, 2015 08:12
Segmentation Fault w/ compiled OF 2.2.0 - motorBike example sudo OpenFOAM Running, Solving & CFD 3 April 2, 2013 17:27
segmentation fault when installing OF-2.1.1 on a cluster Rebecca513 OpenFOAM Installation 9 July 31, 2012 15:06
Segmentation Fault Shawn_A OpenFOAM Running, Solving & CFD 6 October 31, 2011 15:38

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