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

Coded BCs problem

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Goutam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2012, 07:51
Default Coded BCs problem
  #1
Senior Member
 
Goutam Saha
Join Date: Dec 2011
Location: UK
Posts: 131
Rep Power: 14
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?
Zen likes this.
Goutam 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
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 19:42
[Commercial meshers] Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 maverick OpenFOAM Meshing & Mesh Conversion 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 01:52.