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

MixeddirectionMixed bc

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2008, 11:15
Default Hi, Just a question: If I pre
  #1
Member
 
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17
r2d2 is on a distinguished road
Hi, Just a question:
If I prescribe a mixed bc for a e.g. vector quantity as U, is it possible to modify at runtime the values associated with the value,gradient,blending?

I mean if initially I have a zero gradient condition:
outflow
{
// type zeroGradient;
type mixed;
refValue nonuniform List<vector>
20
(
(0 0 0)
...
);
refGradient nonuniform List<vector>
20
(
(0 0 0)
...
);
valueFraction nonuniform List<scalar>
20
(
0
...
);
}

...and after some runtime I get at position 5 in my patch a value for U that I want to keep, is it possible to set the 5th value in refValue list to what I want and the 5th value in valueFraction list to 1? Of course doing the corresponding changes in the boundary condition for p...
any suggestions?
Cheers,
Radu
r2d2 is offline   Reply With Quote

Old   December 22, 2008, 07:18
Default Hi, I am really stuck with t
  #2
Member
 
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17
r2d2 is on a distinguished road
Hi,
I am really stuck with this. I will try to reformulate my question, maybe I have better luck.
If I have a vector or a scalar with a boundary condition of type "mixed", is there a way of changing the refValue, refGradient and valueFraction at runtime? Which would be the syntax do do this?
Thanks,
Radu
r2d2 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



All times are GMT -4. The time now is 11:52.