Skip to content

Commit bb9f773

Browse files
authored
Fixed the wallHeatFlux BC and added xyz output for deformedFFDs (#834)
* Made writeDeformedFFDs also write xyz files. * Fixed an issue for the fixedWallHeatFlux BC.
1 parent d7e792d commit bb9f773

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

dafoam/mphys/mphys_dafoam.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@ def solve_linear(self, d_outputs, d_residuals, mode):
480480
)
481481
else:
482482
self.DVGeo.writeTecplot("deformedFFDs_%d.dat" % self.solution_counter)
483+
self.DVGeo.writePlot3d("deformedFFDs_%d.xyz" % self.solution_counter)
483484

484485
# write the deformed constraints for post-processing
485486
if DASolver.getOption("writeDeformedConstraints"):

src/adjoint/DAMisc/fixedWallHeatFlux/fixedWallHeatFluxFvPatchScalarField.C

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ void fixedWallHeatFluxFvPatchScalarField::write(Ostream& os) const
111111
{
112112
fvPatchScalarField::write(os);
113113
writeEntry("value", os);
114+
os.writeEntry("Pr", Pr_);
115+
os.writeEntry("Prt", Prt_);
116+
os.writeEntry("nu", nu_);
117+
os.writeEntry("Cp", Cp_);
118+
os.writeEntry("heatFlux", heatFlux_);
114119
}
115120

116121
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

0 commit comments

Comments
 (0)