|
[Sponsors] |
simpleFoam Floating point error after applying refineMesh |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Jan 2014
Location: South Florida
Posts: 20
Rep Power: 12 ![]() |
I'm posting this to Solving because I think it's a problem with Solver/Mesh interaction. Please let me know if its not the right place for it.
I have a 2D simulation of flow over a half cylinder. It works perfectly until I use refineMesh on it. After using refineMesh, checkMesh reports: Code:
***Number of edges not aligned with or perpendicular to non-empty directions: 1374 <<Writing 2061 points on non-aligned edges to set nonAlignedEdges Code:
Starting time loop Time = 1 #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 at symmTensorField.C:0 #4 Foam::inv(Foam::UList<Foam::SymmTensor<double> > const&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #5 Foam::leastSquaresVectors::makeLeastSquaresVectors() const in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #6 Foam::leastSquaresVectors::pVectors() const in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #7 Foam::fv::leastSquaresGrad<Foam::Vector<double> >::calcGrad(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #8 Foam::fv::cellLimitedGrad<Foam::Vector<double> >::calcGrad(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #9 Foam::fv::gradScheme<Foam::Vector<double> >::grad(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libincompressibleTurbulenceModel.so" #10 Foam::tmp<Foam::GeometricField<Foam::outerProduct<Foam::Vector<double>, Foam::Vector<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::grad<Foam::Vector<double> >(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libincompressibleTurbulenceModel.so" #11 Foam::incompressible::RASModels::kEpsilon::divDevReff(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>&) const in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so" #12 in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/simpleFoam" #13 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #14 in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/simpleFoam" Floating point exception (core dumped) Here is my case file: http://www.filedropper.com/matlabmesh The mesh was created in the GMSH format by a MatLab code that I wrote. The refined mesh is in the 1 folder. Any ideas? |
|
![]() |
![]() |
![]() |
Tags |
floating point exception, refinemesh, simplefoam |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem in toposet | Ahmed Khattab | OpenFOAM Pre-Processing | 27 | March 3, 2023 21:12 |
Floating point error and divergence detected | aannjj | FLUENT | 0 | July 2, 2013 03:44 |
sprayEngineFoam - floating point exception error | ris | OpenFOAM Running, Solving & CFD | 3 | May 27, 2013 07:01 |
No convergence; floating point exception all the time | Tobi | OpenFOAM | 2 | September 19, 2012 04:01 |