|
[Sponsors] |
Adaptive mesh refinement multiphase flow crashes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 7, 2021, 12:47 |
Adaptive mesh refinement multiphase flow crashes
|
#1 |
New Member
Join Date: Mar 2020
Posts: 11
Rep Power: 6 |
Hello everyone,
I am working with multiphaseEulerFoam on a simplified case of droplet deposition on a surface. On a static mesh everything works fine. If I try to activate the AMR, I get a couple of time steps where the refinement works fine and then the solver crashes. Code:
Selected 0 cells for refinement out of 18000. Selected 0 split points out of a possible 0. MULES: Solving for alpha.air MULES: Solving for alpha.water air fraction, min, max = 0.982667 -2.29925e-22 1 water fraction, min, max = 0.0173333 0 1 Phase-sum volume fraction, min, max = 1 1 1 MULES: Solving for alpha.air MULES: Solving for alpha.water air fraction, min, max = 0.982667 -2.82047e-22 1 water fraction, min, max = 0.0173333 0 1 Phase-sum volume fraction, min, max = 1 1 1 Constructing momentum equations air min/max T 300 - 300 water min/max T 300 - 300 GAMG: Solving for p_rgh, Initial residual = 0.000940122, Final residual = 3.51079e-08, No Iterations 1000 ExecutionTime = 30.83 s Courant Number mean: 0.00129843 max: 0.00139923 deltaT = 5.39279e-06 Time = 3.52865e-05 Selected 44 cells for refinement out of 18000. Refined from 18000 to 18308 cells. Selected 0 split points out of a possible 44. GAMG: Solving for pcorr, Initial residual = 0.999998, Final residual = 6.6057e-09, No Iterations 22 MULES: Solving for alpha.air MULES: Solving for alpha.water air fraction, min, max = 0.98267 -1.22775e-08 1 water fraction, min, max = 0.0173299 -4.67376e-21 1 Phase-sum volume fraction, min, max = 1 1 1 MULES: Solving for alpha.air MULES: Solving for alpha.water air fraction, min, max = 0.98267 -8.65858e-09 1 water fraction, min, max = 0.0173299 -1.05202e-24 1 Phase-sum volume fraction, min, max = 1 1 1 Constructing momentum equations air min/max T 300 - 300 water min/max T 300 - 300 GAMG: Solving for p_rgh, Initial residual = 0.00598428, Final residual = 3.25813e-08, No Iterations 1000 ExecutionTime = 32.31 s Courant Number mean: 0.00176672 max: 0.00190832 deltaT = 6.47135e-06 Time = 4.17578e-05 Selected 524 cells for refinement out of 18308. Refined from 18308 to 21976 cells. Selected 0 split points out of a possible 524. GAMG: Solving for pcorr, Initial residual = 1, Final residual = 6.67404e-09, No Iterations 19 MULES: Solving for alpha.air MULES: Solving for alpha.water air fraction, min, max = 0.981933 -8.84395e-18 1.00001 water fraction, min, max = 0.0180674 -7.57791e-06 1 Phase-sum volume fraction, min, max = 1 1 1 MULES: Solving for alpha.air MULES: Solving for alpha.water air fraction, min, max = 0.981932 -9.83074e-08 1.00001 water fraction, min, max = 0.0180676 -7.636e-06 1 Phase-sum volume fraction, min, max = 1 1 1 Constructing momentum equations air min/max T 300 - 300 water min/max T 300 - 300 GAMG: Solving for p_rgh, Initial residual = 0.010646, Final residual = 1.35044e-08, No Iterations 1000 ExecutionTime = 34.2 s Courant Number mean: 0.00251206 max: 0.00946315 deltaT = 7.28027e-06 Time = 4.90381e-05 Selected 599 cells for refinement out of 21976. Refined from 21976 to 26169 cells. Selected 234 split points out of a possible 1061. Unrefined from 26169 to 24531 cells. GAMG: Solving for pcorr, Initial residual = 1, Final residual = 5.30496e-09, No Iterations 20 [0] #0 Foam::error::printStack(Foam::Ostream&) at ??:? [0] #1 Foam::sigFpe::sigHandler(int) at ??:? [0] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" [0] #3 Foam::phaseSystem::solve(Foam::PtrList<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&, Foam::PtrList<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > const&) at ??:? [0] #4 ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/multiphaseEulerFoam" [0] #5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [0] #6 ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/multiphaseEulerFoam" [GV-Linux:2495036] *** Process received signal *** [GV-Linux:2495036] Signal: Floating point exception (8) [GV-Linux:2495036] Signal code: (-6) [GV-Linux:2495036] Failing at address: 0x3e80026123c [GV-Linux:2495036] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f9f5307e210] [GV-Linux:2495036] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f9f5307e18b] [GV-Linux:2495036] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f9f5307e210] [GV-Linux:2495036] [ 3] /opt/openfoam9/platforms/linux64GccDPInt32Opt/lib/libphaseSystem.so(_ZN4Foam11phaseSystem5solveERKNS_7PtrListINS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEEEERKNS1_INS2_IdNS_13fvsPatchFieldENS_11surfaceMeshEEEEE+0x134d)[0x7f9f5654f50d] [GV-Linux:2495036] [ 4] multiphaseEulerFoam(+0x3eaa1)[0x557c4e8f9aa1] [GV-Linux:2495036] [ 5] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f9f5305f0b3] [GV-Linux:2495036] [ 6] multiphaseEulerFoam(+0x4b72e)[0x557c4e90672e] [GV-Linux:2495036] *** End of error message *** Thanks |
|
March 29, 2022, 06:56 |
|
#2 | |
Senior Member
Nguyen Duy Trong
Join Date: Apr 2014
Posts: 124
Rep Power: 12 |
Quote:
Did you solve this issue, I am also having a similar problem with AMR technique. Could you please share with me your solution? Thanks |
||
March 29, 2022, 18:04 |
|
#3 | |
Member
Venkat Ganesh
Join Date: May 2020
Location: Cincinnati, Ohio
Posts: 49
Rep Power: 6 |
Quote:
|
||
December 29, 2023, 13:21 |
|
#4 | |
New Member
Siddhesh Pujari
Join Date: Feb 2022
Posts: 2
Rep Power: 0 |
Quote:
I also tried playing with an unrefined level and my simulation crashed after few time-steps. I was wondering, did you get passed this step? |
||
January 5, 2024, 15:55 |
|
#5 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
Please try this and see what happens; otherwise, share your fvsolutionDict and controlDict files.
Code:
// How often to refine refineInterval 2; |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] non uniform mesh near the stl object | vava10 | OpenFOAM Meshing & Mesh Conversion | 0 | January 31, 2021 15:41 |
problem with parallel calculations OF8 mpirun | otaolafr | OpenFOAM Programming & Development | 0 | January 5, 2021 08:33 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Flow separation point and adaptive mesh refinement | yhaomin2007 | OpenFOAM | 0 | July 25, 2013 11:59 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |