CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Need help for a simple example with icoFOAM (https://www.cfd-online.com/Forums/openfoam-solving/59755-need-help-simple-example-icofoam.html)

gruber2 April 3, 2007 04:33

Hello, i need help for a si
 
Hello,

i need help for a simple example with OpenFOAM.

Given:
Inlet: Zylinder with Diameter 125mm (200mm long)
A Inlet = D Inlet²*Pi/4 = 0,125² *3.14 / 4 = 0.0123m²
Vpoint=2400l/min=0.04m³/s
Fluid Oil: rho=0.9kg/dm³=900kg/m³
eta= 1 Pa s = 1 kg / (m s)
Outlet: Zylinder with Diameter 200mm (200mm long)
A Outlet = D Outlet²*Pi/4 = 0,2² *3.14 / 4 = 0.0314m²

Necessary values for the calculation with OpenFOAM:
v Inlet=Vpoint / A Inlet= 0.04 / 0.0123 = 3.25 m/s -> inscribed in $FOAM_RUN/tutorials/icoFoam/tube/0/U
p Inlet= rho * v Inlet² / 2= 900 * 3,25² / 2 = 4753.125 Pa -> inscribed in $FOAM_RUN/tutorials/icoFoam/tube/0/p
Re = D Inlet * v Inlet * rho / eta = 0,125 * 3.25 * 900 / 1 = 365,625 <re> laminar Flow -> Solver: icoFOAM
ny = D Inlet * v Inlet / Re = 0,125 * 3.25 / 365,625 = 0.001 m² / s -> inscribed in $FOAM_RUN/tutorials/icoFoam/tube/constant/transportProperties
endTime 0.5; deltaT 0.005; writeInterval 20 -> inscribed in $FOAM_RUN/tutorials/icoFoam/tube/system/controlDict
div(phi,U) Gauss <>; changed in -> div(phi,U) Gauss linear; in $FOAM_RUN/tutorials/icoFoam/tube/system/fvSchemes:

Requested values:
v Outlet, p Outlet
Calculated values for Control:
v Outlet=v Inlet * A Inlet / A Outlet = 3.25 * 0.0123 / 0.0314 = 1,27 m/s
p Outlet= rho * v Outlet² / 2= 900 * 1,27² / 2 = 725,805 Pa

My problem is:
The fact that the speed and Pressure is indicated only in the Inlet at the start time and not for all other times, it is also not to be recognised with the filter glyth.


Sorry for the many postings the file-upload isn't very easy.


http://www.cfd-online.com/OpenFOAM_D...s/mime_zip.gif tube.zip
http://www.cfd-online.com/OpenFOAM_D...s/mime_txt.gif U
http://www.cfd-online.com/OpenFOAM_D...s/mime_txt.gif p
http://www.cfd-online.com/OpenFOAM_D...s/mime_txt.gif transportProperties
http://www.cfd-online.com/OpenFOAM_D...s/mime_txt.gif controlDict
http://www.cfd-online.com/OpenFOAM_D...s/mime_txt.gif fvSchemes

gruber2 April 3, 2007 05:47

Here are some pictures
 
Here are some pictures





gruber2 April 3, 2007 05:50

Sorry the size of the pictures
 
Sorry the size of the pictures is to large for the board

hjasak April 3, 2007 06:26

Sounds like you need a support
 
Sounds like you need a support contract and not just "help".

Hrv


All times are GMT -4. The time now is 07:18.