|
[Sponsors] |
time varying velocity outlet boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 11, 2014, 17:11 |
time varying velocity outlet boundary condition
|
#1 |
New Member
simin
Join Date: Apr 2012
Posts: 13
Rep Power: 14 |
Dear all,
I am simulating flow inside the pipe considering time varying decrease of outlet velocity. for decreasing outlet velocity by time I used the groovy BC boundary condition for velocity as follows: velocity:::: boundaryField { inlet { type zeroGradient; } outlet { type groovyBC; variables "U0=0.13;T1=3754;Uout=U0*(1-pow((time()/T1),3));"; valueExpression "(time()<T1) ? vector(Uout,0,0):vector (0,0,0)"; } axi_symm-f { type wedge; } axi_symm-r { type wedge; } wall { type fixedValue; value uniform (0 0 0); } defaultFaces { type empty; } } pressure::::: boundaryField { inlet { type fixedValue; value uniform 8376; } outlet { type zeroGradient; } axi_symm-f { type wedge; } axi_symm-r { type wedge; } wall { type zeroGradient; } defaultFaces { type empty; } } the problem is that after running the case on the terminal page the following message is presented: --> FOAM Warning : From function groovyBCFvPatchField<Type>::groovyBCFvPatchField(c onst fvPatch& p,const DimensionedField<Type, volMesh>& iF,const dictionary& dict) in file groovyBCFvPatchField.C at line 131 No value defined for U on outlet therefore using 30{(0 0 0)} I think it means that the groovy BC is not defined for outlet condition. But as I have to reduce the outlet velocity by time could any one help me for finding a proper boundary condition. Many thanks for the help, Simin |
|
September 12, 2014, 02:42 |
|
#2 |
New Member
simin
Join Date: Apr 2012
Posts: 13
Rep Power: 14 |
any idea????
|
|
September 12, 2014, 03:09 |
|
#3 |
Senior Member
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 15 |
Hi,
From the error message, "No value defined for U on outlet therefore using 30{(0 0 0)}". So, you haven't defined any value,i.e. initial, at the boundary and it's taking some default value. What you can do is that, outlet { type groovyBC; variables "U0=0.13;T1=3754;Uout=U0*(1-pow((time()/T1),3));"; valueExpression "(time()<T1) ? vector(Uout,0,0):vector (0,0,0)"; value $internalField; Or uniform (0 0 0) if zero. } |
|
September 12, 2014, 03:13 |
|
#4 |
New Member
simin
Join Date: Apr 2012
Posts: 13
Rep Power: 14 |
Hi Ahmmed,
Many thanks for your help |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 14:06 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
CFX fails to calculate a diffuser pipe flow | shenying0710 | CFX | 7 | March 26, 2013 05:13 |
VOF Outlet boundary condition in cfd - ace | JM | Main CFD Forum | 0 | December 15, 2006 09:07 |