|
[Sponsors] |
March 5, 2014, 10:49 |
simpleFoam for WATER
|
#1 |
Member
Join Date: Feb 2014
Posts: 57
Rep Power: 12 |
Hi,
I want to simulate a water flow inside an injector by simpleFoam. I change nu => 1e-6 in constant/transportProperties. But the run failed! Do you have any explaination? Thanks T |
|
March 6, 2014, 04:54 |
|
#2 |
Senior Member
|
||
March 6, 2014, 11:54 |
simpleFoam - pressure driven water flow inside injector
|
#3 | |
Member
Join Date: Feb 2014
Posts: 57
Rep Power: 12 |
Hi,
Here are the details I changed: BC and transportProperties in constant/ 1/ The first thing is the BC: for p ================================== internalField uniform 0; boundaryField { Inlet { type fixedValue; value uniform 100; // = P_inlet/rho_water = 100 000 Pa / 1000 kg/m3, is it right? // or should I give 100 000 Pa instead? } Outlet { type fixedValue; value uniform 0; } Symmetry { type symmetryPlane; } Wall { type zeroGradient; } } for U ================================== internalField uniform (0 0 0); boundaryField { Inlet { type pressureInletVelocity; value uniform (0 0 0); } Outlet { type zeroGradient; } Symmetry { type symmetryPlane; } Wall { type fixedValue; value uniform (0 0 0); } } 2/ The second one is transportProperties transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; // for the kinematic viscosity of water, right? I really appreaciate your advices. T Quote:
|
||
March 6, 2014, 12:07 |
|
#4 |
Senior Member
|
If you take a look at the units of pressure, they are m^2*s^-2, i.e. pressure/density, so you are right about value.
Several things you forgot to mention: 0. Can you show the output of "But the run failed!"? 1. Are you sure that your mesh is OK? 2. What's in your fvSolution? 3. What's in your fvSchemes? 4. What's in your controlDict? In general "But the run failed!" can mean anything. |
|
March 7, 2014, 03:46 |
|
#5 | |
Member
Join Date: Feb 2014
Posts: 57
Rep Power: 12 |
Alexey,
The error I made was stupid: The value of epsilon in the initial conditions is wrong. That's why the simulation ran for several iterations and then stopped due to big discrepancies between time steps. I really appreciate your attention and your time on my question. Hope this very "stupid experience" useful for new OpenFoamer like me! Have a nice day! T Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 15:26 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 18:45 |
Laminar simpleFoam and inviscid simpleFoam | herenger | OpenFOAM Running, Solving & CFD | 7 | July 11, 2013 06:27 |
Trying to run a benchmark case with simpleFoam | spsb | OpenFOAM | 3 | February 24, 2012 09:07 |
Naca0012 k-e mpirun gives fpe whereas simpleFoam not | Pierpaolo | OpenFOAM | 1 | May 8, 2010 03:08 |