|
[Sponsors] |
"Segmentation fault" when using reconstructPar and renumberMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 24, 2019, 18:06 |
"Segmentation fault" when using reconstructPar and renumberMesh
|
#1 |
New Member
|
Here is the issue:
I have installed OF 2.40 on a Centos 7 system (as a user not administrator). I followed the instruction on wiki: https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL Everything compile fine and it seems everything works, but when it comes to using reconstructPar or renumberMesh, I get "segmentation fault" error: I ran the cavity case (incompressible laminar flow) using 2 processors. It ran successfully, but when I type reconstructPar, I get this error: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.4.0-dcea1e13ff76 Exec : reconstructPar Date : Apr 24 2019 Time : 15:48:31 Host : "gpunode001" PID : 147305 Case : /home/tntech.edu/rnouri42/OpenFOAM/OpenFOAM-2.4.0/tutorials/incompressible/icoFoam/cavity nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Reconstructing fields for mesh region0 Time = 0.1 Reconstructing FV fields Reconstructing volScalarFields p #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 ? in "/lib64/libc.so.6" #3 Foam::fvPatchField<double>::addpatchMapperConstructorToTable<Foam::zeroGradientFvPatchField<double> >::New(Foam::fvPatchField<double> const&, Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::fvPatchFieldMapper const&) at ??:? #4 ? at ??:? #5 ? at ??:? #6 ? at ??:? #7 ? at ??:? #8 ? at ??:? #9 __libc_start_main in "/lib64/libc.so.6" #10 ? at ??:? Segmentation fault And for renumberMesh, I get: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.4.0-dcea1e13ff76 Exec : renumberMesh Date : Apr 24 2019 Time : 15:52:53 Host : "gpunode001" PID : 149066 Case : /home/tntech.edu/rnouri42/OpenFOAM/OpenFOAM-2.4.0/tutorials/incompressible/icoFoam/cavity nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Mesh size: 400 Before renumbering : band : 20 profile : 7619 Using default renumberMethod. Selecting renumberMethod CuthillMcKee Reading volScalarField p Reading volVectorField U #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 ? in "/lib64/libc.so.6" #3 Foam::polyMesh::resetPrimitives(Foam::Xfer<Foam::Field<Foam::Vector<double> > > const&, Foam::Xfer<Foam::List<Foam::face> > const&, Foam::Xfer<Foam::List<int> > const&, Foam::Xfer<Foam::List<int> > const&, Foam::List<int> const&, Foam::List<int> const&, bool) at ??:? #4 ? at ??:? #5 ? at ??:? #6 __libc_start_main in "/lib64/libc.so.6" #7 ? at ??:? Segmentation fault Any idea? Thank you. Reza |
|
April 25, 2019, 22:40 |
|
#2 |
New Member
|
Just for the record,
I solved the issue by installing another version of OpenFOAM (2.3.1 instead of 2.4.0). Reza |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Some questions on blockMesh, decomposePar and renumberMesh | Leech | OpenFOAM Meshing & Mesh Conversion | 19 | April 5, 2019 20:21 |
renumberMesh | pere | OpenFOAM | 4 | May 9, 2012 09:52 |