CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] slip coded in swak4foam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2017, 06:02
Default slip coded in swak4foam
  #1
Member
 
Join Date: Aug 2011
Posts: 37
Rep Power: 14
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 07:02.
Kojote is offline   Reply With Quote

Old   March 17, 2017, 08:33
Default
  #2
Member
 
Join Date: Aug 2011
Posts: 37
Rep Power: 14
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


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
water penetrates the wall under slip boundary condition xiaor1 OpenFOAM Pre-Processing 1 December 17, 2015 13:26
[swak4Foam] fails in parallel with -otherTime? Phicau OpenFOAM Community Contributions 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 21:30
Free slip and no slip. Yung Fidelity CFD 2 August 16, 2006 09:24


All times are GMT -4. The time now is 04:43.