-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
fangjian
authored and
fangjian
committed
Jan 31, 2024
1 parent
8221437
commit fc1c7d1
Showing
3 changed files
with
80 additions
and
4 deletions.
There are no files selected for viewing
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,60 @@ | ||
######################################################################## | ||
# input file of ASTR code # | ||
######################################################################## | ||
|
||
# flowtype : The type of flow problem | ||
tgv | ||
|
||
# im,jm,km : The size of grid. | ||
128,128,0 | ||
|
||
# lihomo,ljhomo,lkhomo : The homogeneous directions | ||
t,t,t | ||
|
||
# nondimen,diffterm,lfilter,lreadgrid,lfftz,limmbou,ltimrpt,lcomb : Parameters | ||
t,t,t,f,f,f,t,f | ||
|
||
# lrestar : start mode | ||
f | ||
|
||
# alfa_filter, kcutoff : Filter parameters | ||
0.49d0, 48 | ||
|
||
# ref_t,reynolds,mach : Reference variables | ||
273.15d0, 1600.d0, 0.1d0 | ||
|
||
# conschm,difschm,rkscheme,odetype : Numerical scheme | ||
642c, 642c, rk3, rk3 | ||
|
||
# recon_schem, lchardecomp,bfacmpld,shkcrt : Parameters for upwind-biased scheme | ||
5, t, 0.3d0, 0.05d0 | ||
|
||
# num_species : number of species | ||
0 | ||
|
||
# turbmode,iomode : turbulence model | ||
none,h | ||
|
||
# bctype : Boundary condition definition | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
|
||
# ninit : Initial method | ||
0 | ||
|
||
# spg_imin,spg_imax,spg_jmin,spg_jmax,spg_kmin,spg_kmax : Sponge layer range | ||
0, 0, 0, 0, 0, 0 | ||
|
||
# gridfile | ||
datin/grid.h5 | ||
|
||
|
||
######################################################################## | ||
# bctype # | ||
# 1 : periodic bc, nothing will be done. # | ||
# 41 : isothermal wall, wall temperature input. # | ||
######################################################################## |
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,11 @@ | ||
# this is a bash script to setup a ASTR case | ||
|
||
ASTR_DIR="$(dirname "$(readlink -f "$0")")" | ||
|
||
echo "ASTR directory: $ASTR_DIR" | ||
|
||
cp -v $ASTR_DIR/Makefile ./ | ||
cp -vr $ASTR_DIR//examples/Taylor_Green_Vortex/datin ./ | ||
|
||
mkdir "./user_define_module" | ||
cp -v $ASTR_DIR/user_define_module/userdefine.F90 ./user_define_module/ |
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