Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Code.v05-00/src/Core/LAGRIDPlumeModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ void LAGRIDPlumeModel::initH2O() {
auto areas = VectorUtils::cellAreas(xEdges_, yEdges_);
const double icemass = iceAerosol_.TotalIceMass_sum(areas);

double mass_WV = WV_exhaust_ - icemass;
double E_H2O = mass_WV / (MW_H2O * 1e3) * Na;
double mass_WV = WV_exhaust_ / 1e3 - icemass; // WV_exhaust converted from [g/m] -> [kg/m]
double E_H2O = mass_WV / (MW_H2O) * Na;

// Spread the emitted water evenly over the cells that contain ice crystals
auto localPlumeEmission = [&](std::size_t j, std::size_t i) -> double {
Expand Down