CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

how to define a new boundary condition

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

LinkBack Thread Tools Display Modes
Old   February 23, 2011, 05:56
Default how to define a new boundary condition
Join Date: May 2010
Location: munich
Posts: 44
Rep Power: 7
xck1986 is on a distinguished road
Hi everyone,
In the stressanalysis solver solidDisplacementFoam there is a boundary condition tractionDisplacement, which looks like following:

type tractionDisplacement;
traction uniform (0 0 0);
pressure uniform 0;
value uniform (0 0 0);

In this boundary condition I can only define the the traction as a constant vector. But now I want to modify the traction as a variable, which is depend on it's position.
I have try to use groovyBC or funkySetField, but those utlities can only be applied to the field, which is defined in the 0 folder, not valid to the values inside of the boundary definition.

So my idea is to modify the existed boundary condition and define a new one, which can read in the traction not as a fixed vector, but depend on it's position.

Does any one have experience how to realize it?

Thanks a lot in advance!
xck1986 is offline   Reply With Quote


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
how to define two inlet boundary condition at the different time nuengao FLUENT 0 December 13, 2010 03:42
External Radiation Boundary Condition for Grid Interface CFD XUE FLUENT 0 July 9, 2010 02:53
how to define slip boundary condition in tube zhucheng1980 FLUENT 0 June 20, 2007 15:49
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15

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