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

Mixed and directionMixed bc

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 8, 2011, 04:43
Default Mixed and directionMixed bc
  #1
New Member
 
Join Date: Apr 2011
Posts: 9
Rep Power: 8
Fried is on a distinguished road
Sponsored Links
Hallo everyone,
I have to say I am quite new with using OpenFOAM.
I would like to impose a velocity boundary condition with a fixed value for two velocity components and a normal derivative for the remaining component, e.g.:
(u=const. dv/dn=assigned w=const.)
To me, the mixed type bc looked the right choice - or maybe the directionMixed, depends if I can give a different valuefraction for every component), but I am not able to find out anywhere how to specify it.
Is there anyone who can tell me the right assignment template?
Something like:
{
type mixed
refValue ...
reg gradient ...
...
}
Thanks in advance,
F.
Fried is offline   Reply With Quote
Sponsored Links

Old   April 5, 2017, 10:10
Default
  #2
New Member
 
Join Date: Sep 2014
Posts: 18
Rep Power: 4
yongxiang is on a distinguished road
Hello Fried,
did you solve this problem in the end? I am also setting such BC as you wised, (u = 1, dvdn = 0, dw/dn= 0). Would you please show me how to specify such a BC?
Thanks very much.
Regards
YX.
yongxiang is offline   Reply With Quote

Old   April 6, 2017, 05:27
Default
  #3
New Member
 
Join Date: Apr 2011
Posts: 9
Rep Power: 8
Fried is on a distinguished road
Hello Yong Xiang,
no, unluckily I never got any reply and some time afterwords I was not working on this anymore. But quite some time has past, maybe now it's possible/easier to implement it?
Regards,
F.
Fried is offline   Reply With Quote

Old   April 7, 2017, 07:56
Default
  #4
New Member
 
Join Date: Sep 2014
Posts: 18
Rep Power: 4
yongxiang is on a distinguished road
Hello Fried,
after some search online, I found one boundary condition which may do the bc, which is called directionMixed, which setting partly fixedValue and partly fixedGradient for corresponding velocity component are possible. Below is an example I used, for your info:

type directionMixed;
refValue uniform (5 0 0);
refGradient uniform (0 0 0);
valueFraction uniform (1 0 0 0 0 0);
value uniform (5 0 0);

regards
YX.
yongxiang is offline   Reply With Quote

Reply

Tags
directionmixed bc, mixed bc

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
DirectionMixed mixed bc evgenii OpenFOAM Pre-Processing 53 October 20, 2016 00:36
Direction mixed bc evgenii OpenFOAM Pre-Processing 1 November 30, 2005 05:37

Sponsored Links


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