|
[Sponsors] |
February 9, 2017, 06:02 |
slip coded in swak4foam
|
#1 |
Member
Join Date: Aug 2011
Posts: 37
Rep Power: 14 |
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. |
|
March 17, 2017, 08:33 |
|
#2 |
Member
Join Date: Aug 2011
Posts: 37
Rep Power: 14 |
For all those interrested
look at groovyBCDirection in the tutorial case of swak there the fractionExpression is a Tensor not a scalar |
|
|
|
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 |