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

directionMixed b.c

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 14, 2009, 01:04
Post directionMixed b.c
  #1
New Member
 
Alessio Alexiadis
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 15
Rep Power: 17
sersunzo is on a distinguished road
Hi everybody,

I try to figure out the use of directionMixed b.c.

I want a b.c. with the normal velocity =0 and the tangential velocity zeroGradient.
The way I understood the directionMixed is something like this

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

the refValue=uniform (0 0 0) means that I want a 0 normal velocity
the refGradient=uniform (0 0 0) means that I want a 0 gradient normal velocity
the valueFraction=1 means that the way I mix the two previous b.c (in my case only the first apply, if it were valueFraction=0 would be only the second)
The value=uniform (0 0 0) specify what to do with the gradient of the tangential component, no mixing this time only the gradient.

Thus I have three points
1) Is it correct my understanding?
2) There is a mistake somewhere, because the solver complains about the valueFraction 1; "Expected a '(' while reading VectorSpace<Form, Cmpt, nCmpt>, found on line 51 the label 1" Line 51 is valueFraction 1. But I do not understand what it is happening;why is it expected a '(' valueFraction is not a scalar?
3) There is another way for forcing a 0 normal velocity plus a zeroGradient tangential velocity?

Thanks in advance
Alessio
sersunzo is offline   Reply With Quote

 

Tags
directionmixed


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Confusion between 'non-slip' and 'slip' B.C jinwon park Main CFD Forum 7 March 6, 2008 04:56
how to set such B.C. in Fluent? Sherri FLUENT 1 January 12, 2006 12:32
Urgent! Help on UDF to set B.C. of 3rd type Ray Hong FLUENT 0 December 28, 2005 19:35
How to set B.C. of the 2nd or 3rd type in UDS? Ray Hong FLUENT 0 December 28, 2005 06:03
Non-Reflecting B.C. in NSC2KE Zou Chu Main CFD Forum 2 May 27, 1999 21:26


All times are GMT -4. The time now is 01:24.