CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Coded BCs problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 20, 2012, 08:51
Default Coded BCs problem
  #1
Senior Member
 
Goutam Saha
Join Date: Dec 2011
Location: UK
Posts: 128
Rep Power: 5
Goutam is on a distinguished road
inlet{
type codedFixedValue;
redirectType swirl;

code
#{
const vector axis (1,0,0);
vectorField v = 2.0*this->patch().Cf()^axis;
v.replace (vector::X, 1.0);
operator==(v);
#};
value $internalField;
}

Any one explain me, what this code means?
Goutam is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 20:42
Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 maverick OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 June 18, 2011 04:36
Can I solve this problem by Fluent? Kai_kc FLUENT 1 October 27, 2010 05:29
Velocity profiles problem behind the elbow (3D problem) kabat73 FLUENT 8 May 9, 2010 04:26
problem in setting up BC's san FLUENT 0 April 26, 2006 01:34


All times are GMT -4. The time now is 15:00.