1

Previous: Numerical solution parameters Up: Test case: Backward-Facing-Step Next: Postprocessing

This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

Running test case

  • To run the test case we will use simpleFoam.
  • It is useful to run the computation on the background and forward the output to a text file:
    # simpleFoam > log &

Model setting

Since equation ([*]) is independent on actual pressure field values, but only on its gradients, we can formally simplify the boundary condition at the outlet by adding a certain constant $ \color{white} C$ to the right hand side of the prescription ([*]) in order to get mean value of the outlet pressure equal to zero and not to hydrostatic presure at the center of mass of the outlet surface. If we do this, we have to amend the inlet boundary condition ([*]) the same way, of course. We can find easily that the constant $ \color{white} C$ has following value
$\displaystyle \color{white} C = \varrho \vec{g} \cdot (\vec{r}_{0,L} - \vec{r}_{Outlet}) = -\varrho g h_{Out} \quad ,$ (3.29)
where $ \color{white} \vec{r}_{Outlet}$ is a position vector of the centre of mass of the outlet surface. Hence prescription ([*]) changes to
$\displaystyle \color{white} p_{Out} (\vec{r}) = \varrho \vec{g} \cdot (\vec{r} - \vec{r}_{Outlet}) \quad ,$ (3.30)
and prescription ([*]) to
$\displaystyle \color{white} p_{tot, In} (\vec{r}) = \varrho \vec{g} \cdot (\vec{r} - \vec{r}_{0,H} + \vec{r}_{0,L} - \vec{r}_{Outlet}) \quad .$ (3.31)
A mean value $ \color{white} \overline{p_{tot, In}}$ of the total pressure at the inlet surface now gives
$\displaystyle \color{white} \overline{p_{tot, In}}$ $\displaystyle \color{white}= \tfrac{1}{S_{Inlet}} \iint_{Inlet} \varrho \vec{g} \cdot (\vec{r} - \vec{r}_{0,H} + \vec{r}_{0,L} - \vec{r}_{Outlet}) \mathrm{d} S$ (3.32)
$\displaystyle \color{white}$ $\displaystyle \color{white}= \varrho g (h - h_{IO}) \quad ,$ (3.35)
where img191 is a position vector of the center of mass of the inlet surface and $ \color{white} g \equiv \Vert \vec{g} \Vert$. We can see that in this model setting there is no need to know the position of a turbine to the water level. It suffices to know $ \color{white} h$ and take the measurement of $ \color{white} h_{IO}$.

Previous: redDyMSolver – transient, compressible Up: TCFD Solvers Next: greenDyMSolver – transient, cavitation
This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

greenSolver - steady state, cavitation

TCFD solver for steady state, cavitating fluid flow is called greenSolver. It was gradually developed during the time from the interPhaseChangeFoam solver. In any matters the greenSolver behaves the same way as any standard OpenFOAM solver. It is compatible with all OpenFOAM applications and libraries. Solver is modified to be more robust, it can use MRF method, limits for variables can be specified and many other changes have been done.