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

codedFixedValue boundary condition

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 24, 2011, 17:18
Question codedFixedValue boundary condition
  #1
Member
 
Neilson Whit
Join Date: Aug 2011
Posts: 74
Rep Power: 14
wolfindark is on a distinguished road
Dear All;

I am trying to define a moving wall boundary condition, X component velocity will change with a function of sin().

the block below does not take calculated ux value. How can I get calculated value as a boundary condition like (ux 0 0) ?.

movingWall_1
{
type codedFixedValue;
value uniform (0 0 0);
redirectType rampedFixedValue;
code
#{

double ux=(0.5*sin(3.14*this->db().time().value())/2);

#};
}

best regards.
wolfindark is offline   Reply With Quote

 


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
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
Can anyone give me some hint on how to make traction free boundary condition? poplar OpenFOAM 3 January 14, 2015 02:37
Boundary Conditions Thomas P. Abraham Main CFD Forum 20 July 7, 2013 05:05
Setting outlet Pressure boundary condition using CAFFA code Mukund Pondkule Main CFD Forum 0 March 16, 2011 03:23
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 11:44


All times are GMT -4. The time now is 14:45.