Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Olivier Guévremont <[email protected]>
  • Loading branch information
AmishgaAlphonius and oguevremont committed Mar 4, 2024
1 parent 69b8ecb commit 6f0317c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,56 @@ Running on 1 MPI rank(s)...
Pressure drop: 0 Pa
Total pressure drop: 0 Pa

---------------
VOF Barycenter
---------------
time x_vof y_vof vx_vof vy_vof
0.000000 0.125000 0.058681 0.000000 0.000000

*******************************************************************************
Transient iteration: 1 Time: 0.1 Time step: 0.1 CFL: 0
*******************************************************************************
Pressure drop: -0.366978 Pa
Total pressure drop: -0.366978 Pa

---------------
VOF Barycenter
---------------
time x_vof y_vof vx_vof vy_vof
0.100000 0.125000 0.058681 -0.000009 -0.000023

*********************************************************************************
Transient iteration: 2 Time: 0.2 Time step: 0.1 CFL: 0.00412505
*********************************************************************************
Pressure drop: -0.367039 Pa
Total pressure drop: -0.367039 Pa

---------------
VOF Barycenter
---------------
time x_vof y_vof vx_vof vy_vof
0.200000 0.124998 0.058682 -0.000002 0.000006

*********************************************************************************
Transient iteration: 3 Time: 0.3 Time step: 0.1 CFL: 0.00230552
*********************************************************************************
Pressure drop: -0.367051 Pa
Total pressure drop: -0.367051 Pa

---------------
VOF Barycenter
---------------
time x_vof y_vof vx_vof vy_vof
0.300000 0.124995 0.058684 0.000003 0.000031

********************************************************************************
Transient iteration: 4 Time: 0.4 Time step: 0.1 CFL: 0.0016325
********************************************************************************
Pressure drop: -0.367145 Pa
Total pressure drop: -0.367145 Pa

---------------
VOF Barycenter
---------------
time x_vof y_vof vx_vof vy_vof
0.400000 0.124992 0.058687 0.000002 0.000032
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ subsection post-processing
set verbosity = verbose
set calculate pressure drop = true
set calculate mass conservation = false
set calculate barycenter = true
end

#---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion doc/source/parameters/cfd/constrain_stasis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The subsection with default parameters goes as follows:
end
end
* The ``enable`` parameter is set to ``true`` when at least one temperature-dependent solid domain constraint should be applied.
* The ``enable`` parameter is set to ``true`` when at least one temperature-dependent stasis constraint should be applied.

* The ``number of constraints`` parameter is an integer representing the number of constraints that will be applied. It is used in multiphase (VOF) simulations to apply different constraints to each fluid. Only one constraint per fluid can be imposed. Each constraint comes with its own subsection (starting with number ``0``) containing its own set of parameters as detailed below.

Expand Down
2 changes: 1 addition & 1 deletion include/solvers/navier_stokes_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ using namespace dealii;

/**
* @brief Struct containing fluid id, temperature range information, and flag
* containers for DOFs used in temperature-dependent solid domain constraints.
* containers for DOFs used in temperature-dependent stasis constraints.
*
* @param[in] fluid_id Identifier of the fluid that is constrained.
*
Expand Down

0 comments on commit 6f0317c

Please sign in to comment.