CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

reset the value for a fixedvalue boundary condition

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 8, 2014, 08:43
Default reset the value for a fixedvalue boundary condition
  #1
New Member
 
Join Date: Feb 2014
Posts: 3
Rep Power: 3
tjjs is on a distinguished road
Hi,

I want to reset the value for a fixedvalue BC with uniform value in the OpenFoam code.
Or create a new volscalarField with fixedValue boundary.
I found a way to set the boundary types from another field, like following
volVectorField U
(
IOobject
(
"U",
runTime.timeName(),
runTime,
IOobject::NO_READ,
IOobject::NO_WRITE
),
mesh,
dimensionedVector("zero", dimVelocity, vector::zero),
p.boundaryField().types()
);
However, in this only the boundary type (e.g. fixedvalue) is set. How can I set the value for the fixedvalue BC?
could anyone give some idea?

Best Regards!

Last edited by tjjs; April 8, 2014 at 14:55.
tjjs 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
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
Velocity profile boundary condition Tuca FLOW-3D 1 April 23, 2013 12:02
asking for Boundary condition in FLUENT Destry FLUENT 0 July 27, 2010 00:55
External Radiation Boundary Condition for Grid Interface CFD XUE FLUENT 0 July 9, 2010 02:53
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


All times are GMT -4. The time now is 13:16.