-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update gresho problem to take Mach number as input
this is easier than setting p0
- Loading branch information
Showing
4 changed files
with
35 additions
and
53 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 |
---|---|---|
@@ -1,11 +1,15 @@ | ||
p0 real 1.0_rt y | ||
# initial Mach number | ||
M0 real 0.1_rt y | ||
|
||
# ambient density | ||
rho0 real 1.0_rt y | ||
|
||
# reference pressure -- this is set automatically | ||
p0 real -1.0_rt | ||
|
||
# reference timescale | ||
t_r real 1.0_rt y | ||
|
||
x_r real 0.0_rt | ||
|
||
q_r real 0.0_rt | ||
|
||
nsub integer 4 y |
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
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