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

simpleFoam Floating point error after applying refineMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2014, 22:21
Exclamation simpleFoam Floating point error after applying refineMesh
  #1
New Member
 
Join Date: Jan 2014
Location: South Florida
Posts: 20
Rep Power: 12
CoolHand is on a distinguished road
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
and if I try to run the simulation it gives the error:

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)
The refinement goes across the bottom of the domain from the inlet to the outlet. If I reduce the refinement to be only 1 radius upstream and downstream of the cylinder I don't get the errors.

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

Reply

Tags
floating point exception, refinemesh, simplefoam


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 20:34.