|
[Sponsors] |
Implementation of rotating walls with the interFoam solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 28, 2024, 09:01 |
Implementation of rotating walls with the interFoam solver
|
#1 |
New Member
Join Date: Jul 2024
Posts: 16
Rep Power: 2 |
Hi Foamers,
I have the following Problem, i want to simulate the oil flow through a pipe, where the fluid come in contact with three rotating clyinders. I use the interFoam Solver. My BC for each rotating surface is: Code:
0/U roller { type rotatingWallVelocity; origin (0 -0.0832 0); axis (0 0 1); omega -98; } 0/p_rgh roller { type fixedFluxPressure; value uniform 0; } 0/nut roller { type nutkWallFunction; value uniform 0; } 0/k roller { type kqRWallFunction; value uniform 0; } 0/epsilon roller { type epsilonWallFunction; value $internalField; } 0/alpha.oil roller { type zeroGradient; } running this code will lead to the error Message: Code:
--> FOAM FATAL ERROR: Continuity error cannot be removed by adjusting the outflow. Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow. Total flux : 2.22507e-308 Specified mass inflow : 3.98506e-18 Specified mass outflow : 4.06142e-18 Adjustable mass outflow : 0 Can anyone tell me what is wrong with my BC? All the other walls that are displayed are defined as walls and not as patches. Mesh.jpgPhases.png |
|
September 3, 2024, 06:44 |
|
#2 |
Senior Member
|
Hi,
It seems like you have no inlets or outlets and the solver therefore does not know a reference pressure to set. You probably need to define a pRefCell or pRefPoint with a pRefValue in your fvSolution file (in the PIMPLE subDict). An example may be found in $FOAM_TUTORIALS/multiphase/interFoam/laminar/sloshingTank2D, copied here: Code:
PIMPLE { momentumPredictor no; nCorrectors 2; nNonOrthogonalCorrectors 0; correctPhi no; pRefPoint (0 0 0.15); pRefValue 1e5; } Tom |
|
Tags |
interfoam solver, rotatingwallvelocity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error SIGSEGV using VOF and UDF | JERC_UTFSM | Fluent UDF and Scheme Programming | 14 | November 8, 2021 00:17 |
interFoam solver error | askarli | OpenFOAM Running, Solving & CFD | 0 | July 13, 2021 03:33 |
Question about interFoam Solver | Kahnbein.Kai | OpenFOAM Running, Solving & CFD | 2 | August 26, 2019 16:36 |
Car external aerodynamic with wheel spinning issue | hokhay | FloEFD, FloWorks & FloTHERM | 2 | August 18, 2016 05:23 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 10:52 |