18.01.2015 Views

Automatic testing of solvers using PyFoam - If your ... - OpenFOAMWiki

Automatic testing of solvers using PyFoam - If your ... - OpenFOAMWiki

Automatic testing of solvers using PyFoam - If your ... - OpenFOAMWiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

groovyBC<br />

Introduction<br />

The tools: pyFoam in 3 minutes<br />

The tools: swak4Foam - 3 more minutes<br />

Case study: Taylor-Green vortex<br />

Case study: Pitz-Daily<br />

CTest<br />

Conclusion<br />

What is swak4Foam<br />

Using swak4Foam (the hits)<br />

Other components <strong>of</strong> swak4Foam<br />

Something like<br />

1 i n l e t {<br />

type groovyBC ;<br />

3 v a l u e uniform 0 ;<br />

v a l u e E x p r e s s i o n "-normal()*(1+sin(time()))<br />

*((pos().y-min(pos().y))*(max(pos<br />

().y)-pos().y))" ;<br />

5 }<br />

sets a pulsating, parabolic inlet condition<br />

Bernhard F.W. Gschaider <strong>Automatic</strong> <strong>testing</strong> <strong>of</strong> <strong>solvers</strong> <strong>using</strong> <strong>PyFoam</strong> 36/164

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!