CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

time varying velocity outlet boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2014, 17:11
Default time varying velocity outlet boundary condition
  #1
New Member
 
simin
Join Date: Apr 2012
Posts: 13
Rep Power: 14
simin_ds is on a distinguished road
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
simin_ds is offline   Reply With Quote

Old   September 12, 2014, 02:42
Default
  #2
New Member
 
simin
Join Date: Apr 2012
Posts: 13
Rep Power: 14
simin_ds is on a distinguished road
any idea????
simin_ds is offline   Reply With Quote

Old   September 12, 2014, 03:09
Default
  #3
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 15
ahmmedshakil is on a distinguished road
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.
}
ahmmedshakil is offline   Reply With Quote

Old   September 12, 2014, 03:13
Default
  #4
New Member
 
simin
Join Date: Apr 2012
Posts: 13
Rep Power: 14
simin_ds is on a distinguished road
Hi Ahmmed,

Many thanks for your help
simin_ds is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 23:37.