Skip to content
Snippets Groups Projects
Commit 85a0359a authored by Josh Borrow's avatar Josh Borrow
Browse files

Now write the smoothed pressure rather than the thermodynamic pressure

parent b9ad5e03
No related branches found
No related tags found
1 merge request!540Add Pressure-Energy (P-U) SPH
......@@ -121,8 +121,8 @@ void hydro_write_particles(struct part* parts, struct io_props* list,
io_make_output_field("Density", FLOAT, 1, UNIT_CONV_DENSITY, parts, rho);
list[7] = io_make_output_field_convert_part(
"Entropy", FLOAT, 1, UNIT_CONV_ENTROPY_PER_UNIT_MASS, parts, convert_S);
list[8] = io_make_output_field_convert_part(
"Pressure", FLOAT, 1, UNIT_CONV_PRESSURE, parts, convert_P);
list[8] = io_make_output_field(
"Pressure", FLOAT, 1, UNIT_CONV_PRESSURE, parts, pressure_bar);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment