Forum Navigation
You need to log in to create posts and topics.

BaramFlow: Advanced sections in Initialisation not showing/working

When I try to view Advanced sections in the Initialization tab of BaramFlow, there is nothing visible even though the eye icon is on the "show" position as seen in the attached pictures. Additionally when trying to initialise the case with volume fractions in the sections to be 1 while the volume fractions everywhere else to be 0, the calculation crashes and terminates. I have tried using the adaptive timestep but that crashes too (Courant number of 0.5).

To be clear, I am trying to do a Free Surface VOF simulation of slurry moving through a system where some chambers are already partially filled with slurry and the rest is supposed to be air.

Any help in this matter would be greatly appreciated.

Additionally I am adding in the full console logs below just in case it proves to be helpful.

/*---------------------------------------------------------------------------*\

| ========= | |

| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |

| \\ / O peration | Version: 2412 |

| \\ / A nd | Website: http://www.openfoam.com |

| \\/ M anipulation | |

\*---------------------------------------------------------------------------*/

Build : 70abf28e-20260105 OPENFOAM=2412 version=v2412

Arch : "LSB;label=32;scalar=64"

Exec : T:\Baram\solvers\openfoam\bin\interFoam -parallel

Date : Apr 24 2026

Time : 13:13:31

Host : YASH-SCX

PID : 11860

I/O : uncollated

Case : T:/New Chapter/case

nProcs : 24

Hosts :

(

(YASH-SCX 24)

)

Pstream initialized with:

floatTransfer : false

maxCommsSize : 0

nProcsSimpleSum : 0

nonBlockingExchange: 0 (tuning: 0)

exchange algorithm : 0

commsType : nonBlocking

polling iterations : 0

trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).

fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 0, maxFileModificationPolls 20)

allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Create time

Create mesh for time = 0

PIMPLE: max iterations = 2

field p : relTol 0.05, tolerance 0.0001

field p_rgh : relTol 0.05, tolerance 0.0001

field U : relTol 0.05, tolerance 0.0001

field h : relTol 0.05, tolerance 0.001

field "(k|epsilon|omega|nuTilda)" : relTol 0.05, tolerance 0.0001

field "alpha.*" : relTol 0.05, tolerance 0.0001

field scalar : relTol 0.05, tolerance 0.001

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 RAS

Selecting RAS turbulence model kEpsilon

kEpsilonCoeffs

{

Prt 0.85;

Sct 0.7;

Cmu 0.09;

C1 1.44;

C2 1.92;

C3 0;

sigmak 1;

sigmaEps 1.3;

}

Reading g

Reading hRef

Calculating field g.h

No MRF models present

No finite volume options present

GAMGPCG: Solving for pcorr, Initial residual = 1, Final residual = 0.0950523, No Iterations 4

GAMGPCG: Solving for pcorr, Initial residual = 0.000678481, Final residual = 1.46718e-05, No Iterations 1

time step continuity errors : sum local = 8.13146e-06, global = -1.77676e-07, cumulative = -1.77676e-07

Courant Number mean: 0.0136551 max: 0.722913

Starting time loop

Courant Number mean: 0.0136551 max: 0.722913

Interface Courant Number mean: 0 max: 0

Time = 0.5

PIMPLE: iteration 1

smoothSolver: Solving for alpha.SlurryLiquid, Initial residual = 1, Final residual = 3.87061e-12, No Iterations 3

Phase-1 volume fraction = 1.12195e-05 Min(alpha.SlurryLiquid) = 0 Max(alpha.SlurryLiquid) = 1

MULES: Correcting alpha.SlurryLiquid

Phase-1 volume fraction = 1.12195e-05 Min(alpha.SlurryLiquid) = -6.88244e-64 Max(alpha.SlurryLiquid) = 1

smoothSolver: Solving for alpha.SlurryLiquid, Initial residual = 0.0771706, Final residual = 3.72405e-09, No Iterations 2

Phase-1 volume fraction = 2.24389e-05 Min(alpha.SlurryLiquid) = 0 Max(alpha.SlurryLiquid) = 1

Applying the previous iteration compression flux

MULES: Correcting alpha.SlurryLiquid

MULES: Correcting alpha.SlurryLiquid

Phase-1 volume fraction = 2.24389e-05 Min(alpha.SlurryLiquid) = -1.54005e-32 Max(alpha.SlurryLiquid) = 1

DILUPBiCGStab: Solving for Ux, Initial residual = 1, Final residual = 3.05495e-08, No Iterations 1

DILUPBiCGStab: Solving for Uy, Initial residual = 1, Final residual = 4.5319e-08, No Iterations 1

DILUPBiCGStab: Solving for Uz, Initial residual = 1, Final residual = 2.88777e-08, No Iterations 1

GAMGPCG: Solving for p_rgh, Initial residual = 1, Final residual = 0.019572, No Iterations 3

GAMGPCG: Solving for p_rgh, Initial residual = 0.000669841, Final residual = 1.37425e-05, No Iterations 1

time step continuity errors : sum local = 0.0242588, global = 0.000158723, cumulative = 0.000158545

GAMGPCG: Solving for p_rgh, Initial residual = 0.00513927, Final residual = 0.000281166, No Iterations 2

GAMGPCG: Solving for p_rgh, Initial residual = 0.000496577, Final residual = 1.63621e-05, No Iterations 1

time step continuity errors : sum local = 0.0317801, global = -0.00011495, cumulative = 4.35955e-05

GAMGPCG: Solving for p_rgh, Initial residual = 0.76231, Final residual = 0.00690857, No Iterations 1

GAMGPCG: Solving for p_rgh, Initial residual = 0.00123408, Final residual = 4.4164e-05, No Iterations 2

time step continuity errors : sum local = 1.55181, global = 0.051071, cumulative = 0.0511146

GAMGPCG: Solving for p_rgh, Initial residual = 0.999982, Final residual = 0.00810726, No Iterations 1

GAMGPCG: Solving for p_rgh, Initial residual = 0.0011329, Final residual = 4.08253e-05, No Iterations 2

time step continuity errors : sum local = 717947, global = 26370.3, cumulative = 26370.4

DILUPBiCGStab: Solving for epsilon, Initial residual = 1, Final residual = 6.53664e-06, No Iterations 1

DILUPBiCGStab: Solving for k, Initial residual = 1, Final residual = 6.5885e-06, No Iterations 1

PIMPLE: iteration 2

smoothSolver: Solving for alpha.SlurryLiquid, Initial residual = 0.0026161, Final residual = 0.000272147, No Iterations 10

Phase-1 volume fraction = -0.0135824 Min(alpha.SlurryLiquid) = -63700.6 Max(alpha.SlurryLiquid) = 1

Applying the previous iteration compression flux

MULES: Correcting alpha.SlurryLiquid

MULES: Correcting alpha.SlurryLiquid

Phase-1 volume fraction = -0.0135824 Min(alpha.SlurryLiquid) = -49630.4 Max(alpha.SlurryLiquid) = 7313.63

smoothSolver: Solving for alpha.SlurryLiquid, Initial residual = 0.120554, Final residual = 0.000189834, No Iterations 10

Phase-1 volume fraction = -1.5184 Min(alpha.SlurryLiquid) = -5.90608e+06 Max(alpha.SlurryLiquid) = 525671

Applying the previous iteration compression flux

MULES: Correcting alpha.SlurryLiquid

MULES: Correcting alpha.SlurryLiquid

Phase-1 volume fraction = -1.5184 Min(alpha.SlurryLiquid) = -2.8011e+07 Max(alpha.SlurryLiquid) = 2.71259e+07

DILUPBiCGStab: Solving for Ux, Initial residual = 0.74802, Final residual = 0.000298879, No Iterations 1

DILUPBiCGStab: Solving for Uy, Initial residual = 0.27856, Final residual = 0.00132837, No Iterations 1

DILUPBiCGStab: Solving for Uz, Initial residual = 0.748282, Final residual = 0.000259006, No Iterations 1

GAMGPCG: Solving for p_rgh, Initial residual = 0.420671, Final residual = 0.0156574, No Iterations 3

GAMGPCG: Solving for p_rgh, Initial residual = 2.83824e-12, Final residual = 2.60308e-13, No Iterations 1

time step continuity errors : sum local = 4.48706e+06, global = -471803, cumulative = -445433

GAMGPCG: Solving for p_rgh, Initial residual = 3.40887e-11, Final residual = 2.34197e-12, No Iterations 1

GAMGPCG: Solving for p_rgh, Initial residual = 7.16186e-12, Final residual = 1.85474e-13, No Iterations 4

time step continuity errors : sum local = 1.88838e+06, global = 133678, cumulative = -311755

GAMGPCG: Solving for p_rgh, Initial residual = 0.33253, Final residual = 0.000689595, No Iterations 1

GAMGPCG: Solving for p_rgh, Initial residual = 0.00781207, Final residual = 5.69402e-05, No Iterations 1

time step continuity errors : sum local = 1.9138e+14, global = -4.03591e+13, cumulative = -4.03591e+13

GAMGPCG: Solving for p_rgh, Initial residual = 1, Final residual = 0.00100142, No Iterations 1

GAMGPCG: Solving for p_rgh, Initial residual = 0.00730696, Final residual = 5.99409e-05, No Iterations 1

time step continuity errors : sum local = 3.66867e+35, global = -2.1585e+35, cumulative = -2.1585e+35

DILUPBiCGStab: Solving for epsilon, Initial residual = 1, Final residual = 0.00206277, No Iterations 1

DILUPBiCGStab: Solving for k, Initial residual = 1, Final residual = 0.00205136, No Iterations 1

bounding k, min: -419.951 max: 8.23046e+42 average: 3.00549e+37

PIMPLE: not converged within 2 iterations

ExecutionTime = 39.126 s ClockTime = 39 s

--> FOAM Warning :

From virtual bool Foam::functionObjects::fieldSelection::checkSelection()

in file functionObjects/fieldSelections/fieldSelection/fieldSelection.C at line 179

Field alpha.air not found

--> FOAM Warning :

From virtual bool Foam::functionObjects::solverFieldSelection::updateSelection()

in file functionObjects/fieldSelections/solverFieldSelection/solverFieldSelection.C at line 82

Valid solver fields are: 5(U alpha.SlurryLiquid epsilon k p_rgh)Courant Number mean: 1.1638e+39 max: 1.31756e+45

Interface Courant Number mean: 2.19109e+13 max: 1.15995e+18

Time = 1

PIMPLE: iteration 1

smoothSolver: Solving for alpha.SlurryLiquid, Initial residual = 2.95045e-20, Final residual = 3.44542e-21, No Iterations 1

Phase-1 volume fraction = 0.16027 Min(alpha.SlurryLiquid) = -2.02414e+06 Max(alpha.SlurryLiquid) = 8.05633e+06

Applying the previous iteration compression flux

MULES: Correcting alpha.SlurryLiquid

MULES: Correcting alpha.SlurryLiquid

Phase-1 volume fraction = -30.3516 Min(alpha.SlurryLiquid) = -3.8029e+22 Max(alpha.SlurryLiquid) = 1.0112e+23

smoothSolver: Solving for alpha.SlurryLiquid, Initial residual = 9.69247e-19, Final residual = 1.19896e-19, No Iterations 1

Phase-1 volume fraction = -3.45942e+16 Min(alpha.SlurryLiquid) = -1.04433e+22 Max(alpha.SlurryLiquid) = 5.63891e+21

Applying the previous iteration compression flux

MULES: Correcting alpha.SlurryLiquid

MULES: Correcting alpha.SlurryLiquid

Phase-1 volume fraction = 9.77606e+36 Min(alpha.SlurryLiquid) = -3.08391e+57 Max(alpha.SlurryLiquid) = 7.50166e+57

DILUPBiCGStab: Solving for Ux, Initial residual = 2.04715e-16, Final residual = 3.24368e-19, No Iterations 1

DILUPBiCGStab: Solving for Uy, Initial residual = 3.73104e-18, Final residual = 3.17586e-21, No Iterations 1

DILUPBiCGStab: Solving for Uz, Initial residual = 2.09271e-17, Final residual = 1.93408e-20, No Iterations 1

GAMGPCG: Solving for p_rgh, Initial residual = 1, Final residual = 0.0142094, No Iterations 2

GAMGPCG: Solving for p_rgh, Initial residual = 6.03829e-20, Final residual = 9.04518e-22, No Iterations 1

time step continuity errors : sum local = 1.32053e+36, global = -1.01862e+35, cumulative = -3.17712e+35

GAMGPCG: Solving for p_rgh, Initial residual = 1.29657e-14, Final residual = 1.65944e-16, No Iterations 1

GAMGPCG: Solving for p_rgh, Initial residual = 1.40866e-16, Final residual = 2.63519e-17, No Iterations 1

time step continuity errors : sum local = 1.83322e+40, global = -5.33755e+39, cumulative = -5.33787e+39

GAMGPCG: Solving for p_rgh, Initial residual = 1, Final residual = 0.0118204, No Iterations 1

GAMGPCG: Solving for p_rgh, Initial residual = 0.00145539, Final residual = 0.000125225, No Iterations 1

time step continuity errors : sum local = 1.37598e+61, global = 2.73327e+60, cumulative = 2.73327e+60

GAMGPCG: Solving for p_rgh, Initial residual = 1, Final residual = 0.0201398, No Iterations 1

GAMGPCG: Solving for p_rgh, Initial residual = 0.00190933, Final residual = 6.04856e-05, No Iterations 2

time step continuity errors : sum local = 1.14254e+105, global = 1.14168e+104, cumulative = 1.14168e+104

job aborted:

[ranks] message

[0-23] process exited without calling finalize

---- error analysis -----

[0-23] on YASH-SCX

T:\Baram\solvers\openfoam\bin\interFoam ended prematurely and may have crashed. exit code 3

---- error analysis -----

 

 

Uploaded files:
  • image_2026-04-24_130200626.png
  • image_2026-04-24_130213827.png
  • image_2026-04-24_130233550.png

Looking at the log you posted, it appears the simulation diverged. Given that the volume fraction was around 1.12195e-5 at the start of the calculation, I suspect the problem might be that the initialization wasn’t performed correctly.

First, I think you should check in Paraview or [Results-Scaffolds-Graphics] to see if the value of alpha.SlurryLiquid was initialized correctly.

I’m not sure why the initialization region isn’t being displayed. I’ll try to find the cause.

 

Hi Yashraj,

This is Jake, a software developer for BARAM.

Thank you for bringing this to our attention. We actually haven't encountered this specific issue with the advanced initialization sections before, so I would like to investigate it further.

Could you share your project folder with me? Having your files will allow me to reproduce the environment and trace the bug on my end.

You can send it via [my Dropbox link].

Best,
Jake

Quote from Jake on April 26, 2026, 11:20 pm

Hi Yashraj,

This is Jake, a software developer for BARAM.

Thank you for bringing this to our attention. We actually haven't encountered this specific issue with the advanced initialization sections before, so I would like to investigate it further.

Could you share your project folder with me? Having your files will allow me to reproduce the environment and trace the bug on my end.

You can send it via [my Dropbox link].

Best,
Jake

Hello Jake,
Thank you for your response. I was trying to upload the files to your dropbox but I wasn't able to upload the files yet as the link says it's for sharing your folder with me and I can't upload mine to it, could you kindly share a "Request file" link and I shall upload the files.

Looking forward to your response.

Kind regards,

Yash Randad

Quote from bykima5230416a7 on April 26, 2026, 2:48 pm

Looking at the log you posted, it appears the simulation diverged. Given that the volume fraction was around 1.12195e-5 at the start of the calculation, I suspect the problem might be that the initialization wasn’t performed correctly.

First, I think you should check in Paraview or [Results-Scaffolds-Graphics] to see if the value of alpha.SlurryLiquid was initialized correctly.

I’m not sure why the initialization region isn’t being displayed. I’ll try to find the cause.

 

Hello Bykima,

Thanks for your response.

I agree that there is some issue with initialisation. I tried what you said and checked on Paraview and, as seen in the attached image, the value for alpha.SlurryLiquid is 0 everywhere even though it should be 1 within the advanced sections created in the initialization tab.

Please do let me know should you need any further information to look into this. I appreciate the help

Kind regards,

Yash Randad

Uploaded files:
  • image_2026-04-27_095522596.png

Dear Yash,
Sorry for the wrong link.
I've updated the link in my previous post.

Kind Regards,
Jake

Quote from Jake on April 27, 2026, 2:19 pm

Dear Yash,
Sorry for the wrong link.
I've updated the link in my previous post.

Kind Regards,
Jake

Dear Jake,

I have uploaded the project files on your dropbox. Feel free to reach out to me should anything else be needed.

Thanking you,

Yash Randad

Hi Yash,
I've received the files and checked them.
Actually those initialization sections are there.
They are just too small.
You may need to scale the mesh.
Have a look at the attached files.

Regards,
Jake

Uploaded files:
  • Screenshot-2026-04-28-123127.png
  • Screenshot-2026-04-28-123257.png
  • Screenshot-2026-04-28-123203.png
  • Screenshot-2026-04-28-123316.png
Quote from Jake on April 28, 2026, 12:43 pm

Hi Yash,
I've received the files and checked them.
Actually those initialization sections are there.
They are just too small.
You may need to scale the mesh.
Have a look at the attached files.

Regards,
Jake

Hello Jake,
Thank you for pointing it out. It was a silly error on my end. I have now scaled up the advanced sections from millimetres to metres as it should be, however, even though the initialisation goes as expected (I checked on ParaView) my calculation still terminates/crashes.

I really need some additional help with my project, would it be possible to contact you via email?
I would appreciate it loads.

Thank you,
Yash Randad

Hello Yash,
I may not be helpful to you since I'm a software developer rather than a CFD engineer.
You can ask help via marketing@nextfoam.co.kr.
M
y
colleagues who are experts in CFD will help you.

Regards,
Jake