|
[Sponsors] |
Velocity components residuals are missing when running with interDyMFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 16, 2015, 13:37 |
Velocity components residuals are missing when running with interDyMFoam
|
#1 |
New Member
|
Hi there,
I'm quite new to OpenFOAM and I am working on a CFD simulation of a Cross-Flow water Turbine. I have created the OpenFOAM case and the simulation seems to work fine. BUT, during the simulation, in the terminal I can't read the residual of the velocity components. I know that the solver computes those unknowns, I want see these residuals during the simulation. How can I do that!? Thanks in advance! PS: I am using the interDyMFoam solver |
|
October 17, 2015, 06:37 |
|
#2 |
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 16 |
how do you start the solver? I just tried a tutorial and the residuals and simulation information were shown in the terminal after I just typed the solver name.
|
|
October 17, 2015, 15:18 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Check the file "system/fvSolution", search for the block "PIMPLE" and check if this line exists:
Code:
momentumPredictor no; |
|
October 18, 2015, 06:55 |
...easy solution!! finally!
|
#4 | |
New Member
|
Quote:
thank you again! |
||
October 18, 2015, 07:05 |
|
#5 | |
New Member
|
Quote:
In my case the problem was that in the fvSolution file, located in the system folder, the momentum equation was not solved directly...thus I caould not find the residuals of the velocity components. Thank you again! cheers! |
||
October 19, 2015, 08:37 |
|
#6 |
New Member
|
Dear Bruno, I modified the fvSolution file as you suggested....it works! Could you please suggest me some reference where I can read how does this solver work? Thank you again,
cheers! |
|
October 24, 2015, 14:20 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
Nonetheless, there is some about interFoam: https://openfoamwiki.net/index.php/InterFoam The "DyM" part means "Dynamic Mesh" and is a mechanism that is mostly common to all solvers that have this tag in their name. Google: Code:
OpenFOAM dynamic meshing explained |
||
September 10, 2016, 01:54 |
|
#8 |
Member
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
I also have exact same problem. My velocity components are not getting printed on screen to monitor. Here is a log,
Code:
Create time Create mesh for time = 0 SIMPLE: convergence criteria field p tolerance 0.0001 field U tolerance 0.0001 field "(k|omega|epsilon)" tolerance 0.0001 Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type RAS Selecting RAS turbulence model kOmegaSST Selecting patchDistMethod meshWave kOmegaSSTCoeffs { alphaK1 0.85; alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.856; gamma1 0.55555556; gamma2 0.44; beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; b1 1; c1 10; F3 false; } Creating MRF zone list from MRFProperties creating MRF zone: MRF1 Creating porosity model list from porosityProperties Porosity region porosity1: selecting model: DarcyForchheimer creating porous zone: rad Using pressure implicit porosity No finite volume options present Starting time loop Time = 1 GAMG: Solving for p, Initial residual = 1, Final residual = 0.0229096, No Iterations 1 time step continuity errors : sum local = 0.16611452, global = -0.013244094, cumulative = -0.013244094 smoothSolver: Solving for omega, Initial residual = 0.0074746818, Final residual = 1.6552667e-005, No Iterations 1 smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0020565579, No Iterations 1 ExecutionTime = 393.767 s ClockTime = 394 s Time = 2 GAMG: Solving for p, Initial residual = 0.99980948, Final residual = 0.028042093, No Iterations 1 time step continuity errors : sum local = 1373.7404, global = -115.04725, cumulative = -115.06049 smoothSolver: Solving for omega, Initial residual = 0.001862281, Final residual = 2.6651327e-006, No Iterations 1 smoothSolver: Solving for k, Initial residual = 0.99999977, Final residual = 0.00054471924, No Iterations 1 bounding k, min: -30136.2 max: 40949627 average: 31.478273 ExecutionTime = 547.618 s ClockTime = 548 s Code:
SIMPLE { residualControl { p 1e-4; U 1e-4; "(k|omega|epsilon)" 1e-4; } nNonOrthogonalCorrectors 0; pRefCell 0; pRefValue 0; nUCorrectors 2; momentumPredictor yes; } |
|
September 11, 2016, 11:31 |
|
#9 | |
Member
Kaufman
Join Date: Jul 2013
Posts: 55
Rep Power: 13 |
Quote:
you can set nUCorrectors 0; to use pressure explicit porosity and then it will go through the block that solving momentum equation. More details can be referred to the files createPorousZones.H and UEqn.H which located at applications/solvers/incompressible/simpleFoam/porousSimpleFoam/ Hope this could help you. Last edited by kmefun; September 11, 2016 at 23:19. |
||
September 12, 2016, 12:39 |
|
#10 |
Member
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Thanks ... It works
|
|
February 6, 2022, 08:51 |
velocity components residuals
|
#11 | |
New Member
saeed sangchooly
Join Date: Feb 2022
Posts: 17
Rep Power: 4 |
Quote:
I'm working with multiphaseEulerFoam solver with 3 phases I did set momentumPredictor to yes and I've also tried setting nUcorrectors to 0; but still I can't see the velocity component residuals. why is that? how can I fix this? Last edited by saeed sangchooly; February 6, 2022 at 10:54. |
||
August 9, 2022, 10:04 |
|
#12 |
New Member
Michele
Join Date: Mar 2022
Posts: 2
Rep Power: 0 |
same problem here...
|
|
October 24, 2022, 11:49 |
|
#13 |
New Member
Mario
Join Date: May 2022
Location: Switzerland
Posts: 2
Rep Power: 0 |
I face the same problem. Could you solve it?
|
|
October 24, 2022, 13:23 |
|
#14 |
New Member
saeed sangchooly
Join Date: Feb 2022
Posts: 17
Rep Power: 4 |
Apparently they've daisabled the momentum perdictor in this solver since it does no good in the sake of stability and acuracy in multiphase cases.
From what I've understood so far, Velocity whould be obtaind by solving momentum algebraically immedirely after solving poisson for p_rgh and updating rho (based on the equation of state specified for each phase) . In that case, there whould be no velocity residuals which we can monitor pls correct me if i'm wrong |
|
Tags |
openfoam, residuals, u components |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
velocity components at blade tip | Sridevi | CFX | 3 | April 30, 2022 12:55 |
Calculate velocity components from shear stress | Arnoldinho | OpenFOAM Running, Solving & CFD | 0 | August 29, 2011 13:07 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |
Variables Definition in CFX Solver 5.6 | R P | CFX | 2 | October 26, 2004 03:13 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |