Skip to content

Commit

Permalink
much better fix for avoiding seg faults for mass mesh sampling, SHOUL…
Browse files Browse the repository at this point in the history
…D cause mass mesh sampling to no longer fail to produce a dataset. See commit 351517f, 351517f.

mass mesh sampling is still very slow, slower even than the momentum solver, which is annoying for mass mesh vtk and turbulence outputs, but at least this should cause it to run more consistently
  • Loading branch information
latwood committed Dec 13, 2024
1 parent 51119b7 commit 92e4b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ninja/ninjafoam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2427,7 +2427,7 @@ void NinjaFoam::writeProbeSampleFile( const wn_3dArray& x, const wn_3dArray& y,
fprintf(fout, " type points;\n");
}
fprintf(fout, " axis xyz;\n");
fprintf(fout, " ordered yes;\n");
fprintf(fout, " ordered no;\n");
fprintf(fout, " points $points;\n");
fprintf(fout, " }\n");
fprintf(fout, ");\n");
Expand Down

0 comments on commit 92e4b03

Please sign in to comment.