Skip to content

Commit

Permalink
Added normal BCs in input file
Browse files Browse the repository at this point in the history
  • Loading branch information
gianlupo committed Nov 7, 2024
1 parent 6442d7f commit c2f0956
Show file tree
Hide file tree
Showing 21 changed files with 388 additions and 210 deletions.
28 changes: 17 additions & 11 deletions examples/capillary_wave/input.nml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,23 @@ ssource = 0.
\

&two_fluid
inipsi = 'cap-wav-1d'
cbcpsi(0:1,1:3) = 'P','P', 'P','P', 'N','N'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
rho12(1:2) = 1., 10.
mu12(1:2) = 0.1, 0.01
sigma = 1.
ka12(1:2) = 0., 0.
cp12(1:2) = 0., 0.
beta12(1:2) = 0., 0.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 0.51
inipsi = 'cap-wav-1d'
cbcpsi(0:1,1:3) = 'P','P', 'P','P', 'N','N'
cbcnor(0:1,1:3,1) = 'P','P', 'P','P', 'N','N'
cbcnor(0:1,1:3,2) = 'P','P', 'P','P', 'N','N'
cbcnor(0:1,1:3,3) = 'P','P', 'P','P', 'D','D'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
bcnor(0:1,1:3,1) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,2) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,3) = 0.,0., 0.,0., 0.,0.
rho12(1:2) = 1., 10.
mu12(1:2) = 0.1, 0.01
sigma = 1.
ka12(1:2) = 0., 0.
cp12(1:2) = 0., 0.
beta12(1:2) = 0., 0.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 0.51
\

&cudecomp
Expand Down
28 changes: 17 additions & 11 deletions examples/deforming_circle/input.nml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,23 @@ ssource = 0.
\

&two_fluid
inipsi = 'bub2'
cbcpsi(0:1,1:3) = 'N','N', 'P','P', 'N','N'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
rho12(1:2) = 1., 1.
mu12(1:2) = 100., 100.
sigma = 1.
ka12(1:2) = 0., 0.
cp12(1:2) = 0., 0.
beta12(1:2) = 0., 0.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.0
inipsi = 'bub2'
cbcpsi(0:1,1:3) = 'N','N', 'P','P', 'N','N'
cbcnor(0:1,1:3,1) = 'D','D', 'P','P', 'N','N'
cbcnor(0:1,1:3,2) = 'N','N', 'P','P', 'N','N'
cbcnor(0:1,1:3,3) = 'N','N', 'P','P', 'D','D'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
bcnor(0:1,1:3,1) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,2) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,3) = 0.,0., 0.,0., 0.,0.
rho12(1:2) = 1., 1.
mu12(1:2) = 100., 100.
sigma = 1.
ka12(1:2) = 0., 0.
cp12(1:2) = 0., 0.
beta12(1:2) = 0., 0.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.0
\

&cudecomp
Expand Down
28 changes: 17 additions & 11 deletions examples/differentially_heated_cavity/input.nml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,23 @@ ssource = 0.
\

&two_fluid
inipsi = 'uni'
cbcpsi(0:1,1:3) = 'N','N', 'P','P', 'N','N'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
rho12(1:2) = 1., 1.
mu12(1:2) = 0.0008426149773176359,0.0008426149773176359 ! Pr/(Pr*Ra)**.5
sigma = 0.
ka12(1:2) = 0.0011867816581938534,0.0011867816581938534 ! 1./(Pr*Ra)**.5
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
inipsi = 'uni'
cbcpsi(0:1,1:3) = 'N','N', 'P','P', 'N','N'
cbcnor(0:1,1:3,1) = 'D','D', 'P','P', 'N','N'
cbcnor(0:1,1:3,2) = 'N','N', 'P','P', 'N','N'
cbcnor(0:1,1:3,3) = 'N','N', 'P','P', 'D','D'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
bcnor(0:1,1:3,1) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,2) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,3) = 0.,0., 0.,0., 0.,0.
rho12(1:2) = 1., 1.
mu12(1:2) = 0.0008426149773176359,0.0008426149773176359 ! Pr/(Pr*Ra)**.5
sigma = 0.
ka12(1:2) = 0.0011867816581938534,0.0011867816581938534 ! 1./(Pr*Ra)**.5
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
\

&cudecomp
Expand Down
29 changes: 18 additions & 11 deletions examples/droplet_in_couette_flow/input.nml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ bcpre(0:1,1:3) = 0.,0., 0.,0., 0. ,0.
bforce(1:3) = 0., 0., 0.
gacc(1:3) = 0., 0., 0.
dims(1:2) = 0, 0
\

&scalar
inisca = 'zer'
Expand All @@ -30,17 +31,23 @@ ssource = 0.
\

&two_fluid
inipsi = 'bub3'
cbcpsi(0:1,1:3) = 'P','P', 'P','P', 'N','N'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
rho12(1:2) = 1.,1.
mu12(1:2) = 0.003125, 0.003125! 0.25**2/20 (Re = 20)
sigma = 0.0078125 ! mu/0.25/0.1 (Ca = 0.1)
ka12(1:2) = 0.001,0.001
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
inipsi = 'bub3'
cbcpsi(0:1,1:3) = 'P','P', 'P','P', 'N','N'
cbcnor(0:1,1:3,1) = 'P','P', 'P','P', 'N','N'
cbcnor(0:1,1:3,2) = 'P','P', 'P','P', 'N','N'
cbcnor(0:1,1:3,3) = 'P','P', 'P','P', 'D','D'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
bcnor(0:1,1:3,1) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,2) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,3) = 0.,0., 0.,0., 0.,0.
rho12(1:2) = 1.,1.
mu12(1:2) = 0.003125, 0.003125! 0.25**2/20 (Re = 20)
sigma = 0.0078125 ! mu/0.25/0.1 (Ca = 0.1)
ka12(1:2) = 0.001,0.001
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
\

&cudecomp
Expand Down
29 changes: 18 additions & 11 deletions examples/forced_hit/input.nml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ bcpre(0:1,1:3) = 0.,0., 0.,0., 0.,0.
bforce(1:3) = 0., 0., 0.
gacc(1:3) = 0., 0., 0.
dims(1:2) = 0, 0
\

&scalar
inisca = 'zer'
Expand All @@ -30,17 +31,23 @@ ssource = 0.
\

&two_fluid
inipsi = 'uni'
cbcpsi(0:1,1:3) = 'P','P', 'P','P', 'P','P'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
rho12(1:2) = 1., 1.
mu12(1:2) = .002,.002
sigma = 0.
ka12(1:2) = 0.001,0.001
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 0.51
inipsi = 'uni'
cbcpsi(0:1,1:3) = 'P','P', 'P','P', 'P','P'
cbcnor(0:1,1:3,1) = 'P','P', 'P','P', 'P','P'
cbcnor(0:1,1:3,2) = 'P','P', 'P','P', 'P','P'
cbcnor(0:1,1:3,3) = 'P','P', 'P','P', 'P','P'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
bcnor(0:1,1:3,1) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,2) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,3) = 0.,0., 0.,0., 0.,0.
rho12(1:2) = 1., 1.
mu12(1:2) = .002,.002
sigma = 0.
ka12(1:2) = 0.001,0.001
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 0.51
\

&cudecomp
Expand Down
29 changes: 18 additions & 11 deletions examples/lid_driven_cavity/input.nml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ bcpre(0:1,1:3) = 0.,0., 0.,0., 0.,0.
bforce(1:3) = 0., 0., 0.
gacc(1:3) = 0., 0., 0.
dims(1:2) = 0, 0
\

&scalar
inisca = 'zer'
Expand All @@ -30,17 +31,23 @@ ssource = 0.
\

&two_fluid
inipsi = 'uni'
cbcpsi(0:1,1:3) = 'P','P', 'N','N', 'N','N'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
rho12(1:2) = 1., 1.
mu12(1:2) = 0.01,0.01
sigma = 0.
ka12(1:2) = 0.01,0.01
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
inipsi = 'uni'
cbcpsi(0:1,1:3) = 'P','P', 'N','N', 'N','N'
cbcnor(0:1,1:3,1) = 'P','P', 'N','N', 'N','N'
cbcnor(0:1,1:3,2) = 'P','P', 'D','D', 'N','N'
cbcnor(0:1,1:3,3) = 'P','P', 'N','N', 'D','D'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
bcnor(0:1,1:3,1) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,2) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,3) = 0.,0., 0.,0., 0.,0.
rho12(1:2) = 1., 1.
mu12(1:2) = 0.01,0.01
sigma = 0.
ka12(1:2) = 0.01,0.01
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
\

&cudecomp
Expand Down
29 changes: 18 additions & 11 deletions examples/rising_bubble_2d/input-case-01.nml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ bcpre(0:1,1:3) = 0.,0., 0.,0., 0.,0.
bforce(1:3) = 0., 0., 0.
gacc(1:3) = 0., 0., -0.98
dims(1:2) = 0, 0
\

&scalar
inisca = 'zer'
Expand All @@ -30,17 +31,23 @@ ssource = 0.
\

&two_fluid
inipsi = 'bub2'
cbcpsi(0:1,1:3) = 'N','N', 'P','P', 'N','N'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
rho12(1:2) = 1000.,100.
mu12(1:2) = 10.,1.
sigma = 24.5
ka12(1:2) = 0.001,0.001
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
inipsi = 'bub2'
cbcpsi(0:1,1:3) = 'N','N', 'P','P', 'N','N'
cbcnor(0:1,1:3,1) = 'D','D', 'P','P', 'N','N'
cbcnor(0:1,1:3,2) = 'N','N', 'P','P', 'N','N'
cbcnor(0:1,1:3,3) = 'N','N', 'P','P', 'D','D'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
bcnor(0:1,1:3,1) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,2) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,3) = 0.,0., 0.,0., 0.,0.
rho12(1:2) = 1000.,100.
mu12(1:2) = 10.,1.
sigma = 24.5
ka12(1:2) = 0.001,0.001
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
\

&cudecomp
Expand Down
29 changes: 18 additions & 11 deletions examples/rising_bubble_2d/input-case-02.nml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ bcpre(0:1,1:3) = 0.,0., 0.,0., 0.,0.
bforce(1:3) = 0., 0., 0.
gacc(1:3) = 0., 0., -0.98
dims(1:2) = 0, 0
\

&scalar
inisca = 'zer'
Expand All @@ -30,17 +31,23 @@ ssource = 0.
\

&two_fluid
inipsi = 'bub2'
cbcpsi(0:1,1:3) = 'N','N', 'P','P', 'N','N'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
rho12(1:2) = 1000.,1.
mu12(1:2) = 10.,0.1
sigma = 1.96
ka12(1:2) = 0.001,0.001
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
inipsi = 'bub2'
cbcpsi(0:1,1:3) = 'N','N', 'P','P', 'N','N'
cbcnor(0:1,1:3,1) = 'D','D', 'P','P', 'N','N'
cbcnor(0:1,1:3,2) = 'N','N', 'P','P', 'N','N'
cbcnor(0:1,1:3,3) = 'N','N', 'P','P', 'D','D'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
bcnor(0:1,1:3,1) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,2) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,3) = 0.,0., 0.,0., 0.,0.
rho12(1:2) = 1000.,1.
mu12(1:2) = 10.,0.1
sigma = 1.96
ka12(1:2) = 0.001,0.001
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
\

&cudecomp
Expand Down
29 changes: 18 additions & 11 deletions examples/rising_bubble_3d/input-case-01.nml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ bcpre(0:1,1:3) = 0.,0., 0.,0., 0.,0.
bforce(1:3) = 0., 0., 0.
gacc(1:3) = 0., 0., -0.98
dims(1:2) = 0, 0
\

&scalar
inisca = 'zer'
Expand All @@ -30,17 +31,23 @@ ssource = 0.
\

&two_fluid
inipsi = 'bub3'
cbcpsi(0:1,1:3) = 'N','N', 'N','N', 'N','N'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
rho12(1:2) = 1000.,100.
mu12(1:2) = 10.,1.
sigma = 24.5
ka12(1:2) = 0.001,0.001
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
inipsi = 'bub3'
cbcpsi(0:1,1:3) = 'N','N', 'N','N', 'N','N'
cbcnor(0:1,1:3,1) = 'D','D', 'N','N', 'N','N'
cbcnor(0:1,1:3,2) = 'N','N', 'D','D', 'N','N'
cbcnor(0:1,1:3,3) = 'N','N', 'N','N', 'D','D'
bcpsi(0:1,1:3) = 0.,0. , 0.,0. , 0.,0.
bcnor(0:1,1:3,1) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,2) = 0.,0., 0.,0., 0.,0.
bcnor(0:1,1:3,3) = 0.,0., 0.,0., 0.,0.
rho12(1:2) = 1000.,100.
mu12(1:2) = 10.,1.
sigma = 24.5
ka12(1:2) = 0.001,0.001
cp12(1:2) = 1., 1.
beta12(1:2) = 1., 1.
acdi_gam_factor = 1., acdi_gam_min = 0.
acdi_eps_factor = 1.
\

&cudecomp
Expand Down
Loading

0 comments on commit c2f0956

Please sign in to comment.