-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add Jupiter CRM case - Multi-species particle sedimentation - Size-dependent sedimentation - Side-independent sedimentation
- Loading branch information
Showing
26 changed files
with
582 additions
and
147 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
# configure file for test jupiter crm | ||
|
||
macro(SET_IF_EMPTY _variable) | ||
if("${${_variable}}" STREQUAL "") | ||
set(${_variable} ${ARGN}) | ||
endif() | ||
endmacro() | ||
|
||
# athena variables | ||
set_if_empty(NUMBER_GHOST_CELLS 3) | ||
set(NUMBER_GHOST_CELLS 3) | ||
|
||
# canoe configure | ||
set(NVAPOR 1) | ||
set(NCLOUD 2) | ||
set(NPHASE_LEGACY 3) | ||
set(PNETCDF ON) | ||
set(MPI ON) | ||
set(EQUATION_OF_STATE ideal_moist) | ||
set(TASKLIST ImplicitHydroTasks) | ||
#set_if_empty(RSOLVER hllc_transform) | ||
# set_if_empty(RSOLVER hllc_transform) | ||
set(RSOLVER lmars) |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
|
||
phases: | ||
- name: atm | ||
thermo: ideal-moist | ||
species: [dry, H2O, H2O(l), H2O(p)] | ||
kinetics: condensation | ||
|
||
species: | ||
- name: dry | ||
composition: {H: 1.5, He: 0.15} | ||
thermo: | ||
model: constant-cp | ||
T0: 273.16 | ||
cp0: 29.1 J/mol/K | ||
|
||
- name: H2O | ||
composition: {H: 2, O: 1} | ||
thermo: | ||
model: constant-cp | ||
T0: 273.16 | ||
cp0: 21.1 J/mol/K | ||
|
||
- name: H2O(l) | ||
composition: {H: 2, O: 1} | ||
thermo: | ||
model: constant-cp | ||
T0: 273.16 | ||
cp0: 62.556 J/mol/K | ||
h0: -45.103 kJ/mol # h0 = - (beta - delta) * R * T0 | ||
equation-of-state: | ||
model: constant-volume | ||
molar-volume: 0.0 cm^3/mol | ||
|
||
- name: H2O(p) | ||
composition: {H: 2, O: 1} | ||
thermo: | ||
model: constant-cp | ||
T0: 273.16 | ||
cp0: 62.556 J/mol/K | ||
h0: -45.103 kJ/mol # h0 = - (beta - delta) * R * T0 | ||
equation-of-state: | ||
model: constant-volume | ||
molar-volume: 0.0 cm^3/mol | ||
|
||
reactions: | ||
- equation: H2O <=> H2O(l) | ||
type: nucleation | ||
rate-constant: {formula: ideal, T3: 273.16, P3: 611.7, beta: 24.845, delta: 4.986, minT: 100.} | ||
|
||
- equation: H2O(l) => H2O(p) | ||
rate-constant: {A: 0.001, b: 0} | ||
|
||
- equation: H2O(p) => H2O | ||
type: evaporation | ||
rate-constant: {A: 0.01, b: 0} |
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
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,21 @@ | ||
#define ADD_ARG(T, name) \ | ||
public: \ | ||
inline auto name(const T& new_##name) -> decltype(*this) { /* NOLINT */ \ | ||
this->name##_ = new_##name; \ | ||
return *this; \ | ||
} \ | ||
inline auto name(T&& new_##name) -> decltype(*this) { /* NOLINT */ \ | ||
this->name##_ = std::move(new_##name); \ | ||
return *this; \ | ||
} \ | ||
DISPATCH_MACRO \ | ||
inline const T& name() const noexcept { /* NOLINT */ \ | ||
return this->name##_; \ | ||
} \ | ||
DISPATCH_MACRO \ | ||
inline T& name() noexcept { /* NOLINT */ \ | ||
return this->name##_; \ | ||
} \ | ||
\ | ||
private: \ | ||
T name##_ /* NOLINT */ |
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
Oops, something went wrong.