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

slip coded in swak4foam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 9, 2017, 07:02
Default slip coded in swak4foam
  #1
New Member
 
Join Date: Aug 2011
Posts: 29
Rep Power: 7
Kojote is on a distinguished road
Hi,

i want to code the slip bc in a groovyBC:

i tried this, switching between a fixed value and slip:

{
type groovyBC;
value uniform (0 0 0);
valueExpression "speed";
gradientExpression "vector(0,-U.y/delta(),0)";
fractionExpression "switch";
evaluateDuringConstruction 0;
}

I think the code is wrong but what?

Thx for helping me out

Christian

Last edited by Kojote; February 9, 2017 at 08:02.
Kojote is offline   Reply With Quote

Old   March 17, 2017, 09:33
Default
  #2
New Member
 
Join Date: Aug 2011
Posts: 29
Rep Power: 7
Kojote is on a distinguished road
For all those interrested

look at groovyBCDirection in the tutorial case of swak
there the fractionExpression is a Tensor not a scalar
Kojote 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
water penetrates the wall under slip boundary condition xiaor1 OpenFOAM Pre-Processing 1 December 17, 2015 14:26
swak4foam fails in parallel with -otherTime? Phicau OpenFOAM Post-Processing 3 June 26, 2013 13:00
Slip BC not working properly lfbarcelo OpenFOAM 3 July 15, 2010 09:53
Low-Pressure Boundary Slip AlexA FLUENT 1 January 5, 2007 22:30
Free slip and no slip. Yung NUMECA 2 August 16, 2006 09:24


All times are GMT -4. The time now is 20:40.