|
[Sponsors] |
August 6, 2012, 06:48 |
bouyantBoussinesqSimpleFoam continuity error
|
#1 | |||
Senior Member
|
Quote:
Quote:
Quote:
Regards Last edited by Mojtaba.a; August 6, 2012 at 07:11. |
||||
August 6, 2012, 07:15 |
|
#2 |
Senior Member
|
I just solved the problem. I hadn't worked with potentialFoam.
I know it was a stupid question. But for those who are beginner in openFOAM like me: 1) make a copy of your current case 2) use potentialFoam to run the case. in this step you initialize your values. 3) copy 0/U file into your own case. 4) start solving. best ~ |
|
April 20, 2013, 02:23 |
|
#3 |
Senior Member
|
hi everybody,
I have the same problem. first, I ran potentialFoam and it says that no continuity error exists. then I changed the solver to buoyantBoussinesqSimpleFoam and ran it. but the following error appeared agian: Code:
[1] --> FOAM FATAL ERROR: [1] 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 : 0.0582779 Specified mass inflow : 1.08721e-09 Specified mass outflow : 0 Adjustable mass outflow : 0 [1] [1] [1] From function adjustPhi(surfaceScalarField& phi, const volVectorField& U,const volScalarField& p [1] in file cfdTools/general/adjustPhi/adjustPhi.C at line 118. [1] FOAM parallel run exiting [1] my U bcs: Code:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { fixedWalls { type fixedValue; value uniform (0 0 0); } openW { type zeroGradient; } hot { type fixedValue; value uniform (0 0 0); } fb { type empty; } } my p bcs: Code:
dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { hot { type fixedValue; value uniform 0; } openW { type fixedValue; value uniform 0; } fixedWalls { type fixedValue; value uniform 0; } fb { type empty; } } thanks a lot Mostafa |
|
April 20, 2013, 02:57 |
|
#4 |
Senior Member
|
hi again,
it seems my problem was solved!!!! I changed my zeroGradient velocity BC to fixedValue and waited to openFoam solved it in some iterations, then I changed it to zeroGradient again. there is no continuity error I think the reason is when a model is solved by BCs different from the original BCs, actually the results are used as the initialize values for the next run. do I right???? |
|
April 20, 2013, 12:12 |
|
#5 |
Senior Member
|
NO, It didn't work. this way fixed my BC as fixedValue.
when I ran the potentialFoam the following results appeared: Code:
Create time Create mesh for time = 0 Reading field p Reading field U Calculating potential flow DICPCG: Solving for p, Initial residual = 0, Final residual = 0, No Iterations 0 DICPCG: Solving for p, Initial residual = 0, Final residual = 0, No Iterations 0 continuity error = 0 Interpolated U error = 0 ExecutionTime = 5.27 s ClockTime = 5 s End please help me |
|
April 20, 2013, 13:25 |
|
#6 | |
Senior Member
|
Quote:
You do not have any velocity inlet or pressure inlet in order to make your case work. after defining a velocity inlet, I prefer to use zeroGradient BC for walls and inflow, and a fixed Value 0 BC for outflow in pressure dictionary.
__________________
Learn OpenFOAM in Persian SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" |
||
April 20, 2013, 13:56 |
|
#7 |
Senior Member
|
thank you, Mojtaba
I have solved this case before, with this difference that the recent geometry is longer than later geometry. I increased grid number but the error was appeared, but when I decrease it, it worked. already I'm running it. I hope it return correct results. but I don't understand why this error appears????? thanks again. Mostafa |
|
April 20, 2013, 14:01 |
|
#8 | |
Senior Member
|
Quote:
You mean by decreasing number of grids you are able to run the case, but increasing it, causes the error?
__________________
Learn OpenFOAM in Persian SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" |
||
April 20, 2013, 15:59 |
|
#9 |
Senior Member
|
yes, I think when I increase the grids the cumulative continuity error increases, while the grids are decreased this error decrease also.
|
|
January 30, 2020, 19:05 |
|
#10 | |
Senior Member
Join Date: Jul 2019
Posts: 148
Rep Power: 7 |
Quote:
Hi, I am wondering if we can use potentialFoam to initialize multiphase problems. Looking forward to hearing from you. Thanks. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error compiling modified applications | yvyan | OpenFOAM Programming & Development | 21 | March 1, 2016 05:53 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
attach/detach (valve opening/closing) | phsieh2005 | OpenFOAM Running, Solving & CFD | 2 | March 21, 2009 06:18 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |