forked from CaNS-World/CaNS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix computation of retau for
pdc
case (CaNS-World#64)
* fix computation of retau for `pdc` case (it only would work for a case with half channel height `lz/2 = 1`) * added a constant pressure gradient turbulent half-channel case (`hdc`). * avoid `sqrt` of negative values for means near zero under `output.f90` by computing the variance rather than the r.m.s.
- Loading branch information
Showing
3 changed files
with
46 additions
and
10 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
examples/turbulent_half_channel_constant_pressure_gradient/dns.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
512 256 72 ! itot, jtot, ktot | ||
12. 6. 1. ! lx, ly, lz | ||
0. ! gr | ||
.95 1.e5 ! cfl, dtmin | ||
180. ! visci | ||
hdc ! inivel | ||
T ! is_wallturb | ||
100000 100. 0.1 ! nstep,time_max,tw_max | ||
T F F ! stop_type(1:3) | ||
F T 0 ! restart,is_overwrite_save,nsaves_max | ||
10 10 100 500 10000 5000 ! icheck, iout0d, iout1d, iout2d, iout3d, isave | ||
P P P P D D ! cbcvel(0:1,1:3,1) [u BC type] | ||
P P P P D D ! cbcvel(0:1,1:3,2) [v BC type] | ||
P P P P D D ! cbcvel(0:1,1:3,3) [w BC type] | ||
P P P P N N ! cbcpre(0:1,1:3 ) [p BC type] | ||
0. 0. 0. 0. 0. 0. ! bcvel(0:1,1:3,1) [u BC value] | ||
0. 0. 0. 0. 0. 0. ! bcvel(0:1,1:3,2) [v BC value] | ||
0. 0. 0. 0. 0. 0. ! bcvel(0:1,1:3,3) [w BC value] | ||
0. 0. 0. 0. 0. 0. ! bcpre(0:1,1:3 ) [p BC value] | ||
1. 0. 0. ! bforce(1:3) | ||
F F F ! is_forced(1:3) | ||
0. 0. 0. ! velf(1:3) | ||
2 2 ! dims(1:2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters