CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Segmentation fault in chtMultiRegionSimpleFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 14, 2015, 05:45
Default Segmentation fault in chtMultiRegionSimpleFoam
  #1
New Member
 
zz
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,

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)
Attached Files
File Type: zip CHT_heatsink.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
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings ZZ,

Unfortunately you have not provided enough information. Please follow the instructions given here: How to give enough info to get help

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

Reply

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 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
Segmentation fault when running dieselFoam or dieselEngineFoam in parallel francesco OpenFOAM Bugs 3 June 10, 2011 09:30


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