Skip to content

Commit 6f0317c

Browse files
Apply suggestions from code review
Co-authored-by: Olivier Guévremont <[email protected]>
1 parent 69b8ecb commit 6f0317c

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

applications_tests/lethe-fluid/heat_transfer_vof_phase_change_constrain_solid_domain.output

+30
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,56 @@ Running on 1 MPI rank(s)...
77
Pressure drop: 0 Pa
88
Total pressure drop: 0 Pa
99

10+
---------------
11+
VOF Barycenter
12+
---------------
13+
time x_vof y_vof vx_vof vy_vof
14+
0.000000 0.125000 0.058681 0.000000 0.000000
15+
1016
*******************************************************************************
1117
Transient iteration: 1 Time: 0.1 Time step: 0.1 CFL: 0
1218
*******************************************************************************
1319
Pressure drop: -0.366978 Pa
1420
Total pressure drop: -0.366978 Pa
1521

22+
---------------
23+
VOF Barycenter
24+
---------------
25+
time x_vof y_vof vx_vof vy_vof
26+
0.100000 0.125000 0.058681 -0.000009 -0.000023
27+
1628
*********************************************************************************
1729
Transient iteration: 2 Time: 0.2 Time step: 0.1 CFL: 0.00412505
1830
*********************************************************************************
1931
Pressure drop: -0.367039 Pa
2032
Total pressure drop: -0.367039 Pa
2133

34+
---------------
35+
VOF Barycenter
36+
---------------
37+
time x_vof y_vof vx_vof vy_vof
38+
0.200000 0.124998 0.058682 -0.000002 0.000006
39+
2240
*********************************************************************************
2341
Transient iteration: 3 Time: 0.3 Time step: 0.1 CFL: 0.00230552
2442
*********************************************************************************
2543
Pressure drop: -0.367051 Pa
2644
Total pressure drop: -0.367051 Pa
2745

46+
---------------
47+
VOF Barycenter
48+
---------------
49+
time x_vof y_vof vx_vof vy_vof
50+
0.300000 0.124995 0.058684 0.000003 0.000031
51+
2852
********************************************************************************
2953
Transient iteration: 4 Time: 0.4 Time step: 0.1 CFL: 0.0016325
3054
********************************************************************************
3155
Pressure drop: -0.367145 Pa
3256
Total pressure drop: -0.367145 Pa
57+
58+
---------------
59+
VOF Barycenter
60+
---------------
61+
time x_vof y_vof vx_vof vy_vof
62+
0.400000 0.124992 0.058687 0.000002 0.000032

applications_tests/lethe-fluid/heat_transfer_vof_phase_change_constrain_solid_domain.prm

+1
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ subsection post-processing
164164
set verbosity = verbose
165165
set calculate pressure drop = true
166166
set calculate mass conservation = false
167+
set calculate barycenter = true
167168
end
168169

169170
#---------------------------------------------------

doc/source/parameters/cfd/constrain_stasis.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The subsection with default parameters goes as follows:
2323
end
2424
end
2525
26-
* The ``enable`` parameter is set to ``true`` when at least one temperature-dependent solid domain constraint should be applied.
26+
* The ``enable`` parameter is set to ``true`` when at least one temperature-dependent stasis constraint should be applied.
2727

2828
* 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.
2929

include/solvers/navier_stokes_base.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ using namespace dealii;
5959

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

0 commit comments

Comments
 (0)