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

OlaFlow solver running error

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Wakatsuki
  • 1 Post By Phicau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2020, 15:31
Default OlaFlow solver running error
  #1
New Member
 
Join Date: Oct 2020
Posts: 2
Rep Power: 0
Wakatsuki is on a distinguished road
Hi, I am using olaflow solver for the simulation of overtopping of vertical seawall, everything looks fine after I setFields, However, when I typed 'olaflow' to run the simulation, this error kept appearing, I have tried many methods, but the progress was very limited.

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Selecting dynamicFvMesh staticFvMesh

PIMPLE: No convergence criteria found


PIMPLE: Operating solver in transient mode with 1 outer corrector
PIMPLE: Operating solver in PISO mode


Reading field porosityIndex

Porosity NOT activated

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type laminar
Selecting laminar stress model Stokes

Reading g

Reading hRef
Calculating field g.h

No MRF models present

No finite volume options present
DICPCG: Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 0, global = 0, cumulative = 0
Courant Number mean: 0 max: 0

Starting time loop

Courant Number mean: 0 max: 0
Interface Courant Number mean: 0 max: 0
deltaT = 0.00595238
Time = 0.00595238

MULES: Solving for alpha.water
alpha.water BC on patch inlet
Phase-1 volume fraction = 0.278097 Min(alpha.water) = 0 Max(alpha.water) = 1
alpha.water BC on patch inlet
MULES: Solving for alpha.water
alpha.water BC on patch inlet
Phase-1 volume fraction = 0.278097 Min(alpha.water) = 0 Max(alpha.water) = 1
#0 Foam::error printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam DICPreconditioner::calcReciprocalD(Foam::Field<dou ble>&, Foam::lduMatrix const&) at ??:?
#4 Foam DICPreconditioner DICPreconditioner(Foam::lduMatrix::solver const&, Foam::dictionary const&) at ??:?
#5 Foam::lduMatrix preconditioner::addsymMatrixConstructorToTable<Foa m DICPreconditioner>::New(Foam::lduMatrix::solver const&, Foam::dictionary const&) at ??:?
#6 Foam::lduMatrix preconditioner::New(Foam::lduMatrix::solver const&, Foam::dictionary const&) at ??:?
#7 Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#8 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
#9 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/home/boapink/OpenFOAM/boapink-7/platforms/linux64GccDPInt32Opt/bin/olaFlow"
#10 Foam::fvMatrix<double>::solve() in "/home/boapink/OpenFOAM/boapink-7/platforms/linux64GccDPInt32Opt/bin/olaFlow"
#11 ? in "/home/boapink/OpenFOAM/boapink-7/platforms/linux64GccDPInt32Opt/bin/olaFlow"
#12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#13 ? in "/home/boapink/OpenFOAM/boapink-7/platforms/linux64GccDPInt32Opt/bin/olaFlow"
Floating point exception (core dumped)
Rosy likes this.
Wakatsuki is offline   Reply With Quote

Old   August 16, 2021, 04:52
Default
  #2
New Member
 
Rosangela
Join Date: Jul 2021
Posts: 4
Rep Power: 4
Rosy is on a distinguished road
Hello Wakatsuki,

when I type 'olaflow' to run the simulation, I have a similar error. How did you solve this?
Rosy is offline   Reply With Quote

Old   August 16, 2021, 20:36
Default
  #3
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Both,
there is a floating point error (sigFpe - division by 0) when solving the pressure Poisson equation. Probably this is due to a bad mesh or choosing incorrect boundary conditions, but there are other possibilities.

If you started your case from an olaFlow tutorial, I would suggest that you revert the changes that you have made, one by one, until you find which one leads to this error.

Best,
Pablo
Rosy likes this.
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   August 17, 2021, 04:39
Default OlaFlow running problem
  #4
New Member
 
Rosangela
Join Date: Jul 2021
Posts: 4
Rep Power: 4
Rosy is on a distinguished road
Hi Pablo,
thanks for your quick reply.

As you suggested, I started my case from an OlaFlow tutorial, editing the appropriate files. I want to model two vertical rigid cylinders partially submerged in water and subject to wave motion (solitary wave). Wanting to implement the model in 3D, I started from the IRREGTANK tutorial, modifying BlockMeshDict, adding two cylinders drawn in Salome, providing a mesh with SnappyHexMeshDict. Being new to Openfoam, unfortunately I can't understand where the mistake is, because my case doesn't work. Some modified files are attached. I would be really grateful if you agreed to help me.
Attached Files
File Type: txt alpha.water.org.txt (1.5 KB, 1 views)
File Type: txt blockMeshDict.txt (1.5 KB, 1 views)
File Type: txt p_rgh.txt (1.8 KB, 4 views)
File Type: txt setFieldsDict.txt (1,015 Bytes, 1 views)
File Type: txt snappyHexMeshDict.txt (9.8 KB, 1 views)
Rosy is offline   Reply With Quote

Old   August 17, 2021, 20:19
Default
  #5
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Rosy,
As I mentioned it is an issue with the pressure boundary conditions. You cannot simply specify zero gradient, it needs to be fixedFluxPressure, the same as the other walls already defined in the file.

I would suggest that you spend some time learning from the tutorials and trying simple 2D cases before getting into more complex cases.

Best,
Pablo
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Reply

Tags
olaflow solver


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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 16:08
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 07:11
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 05:07


All times are GMT -4. The time now is 16:25.