|
[Sponsors] |
November 25, 2008, 11:15 |
Hi, Just a question:
If I pre
|
#1 |
Member
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17 |
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 |
|
December 22, 2008, 07:18 |
Hi,
I am really stuck with t
|
#2 |
Member
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17 |
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 |
|
|
|