From d01f653d3291b15c927cb7f05a013b9c37e6dc26 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Mon, 13 Jul 2009 09:27:38 +0200 Subject: [PATCH] porousZone - output 'note' entry (if it exists) too --- src/finiteVolume/cfdTools/general/porousMedia/porousZone.C | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/finiteVolume/cfdTools/general/porousMedia/porousZone.C b/src/finiteVolume/cfdTools/general/porousMedia/porousZone.C index f13e344375..34e85c2e27 100644 --- a/src/finiteVolume/cfdTools/general/porousMedia/porousZone.C +++ b/src/finiteVolume/cfdTools/general/porousMedia/porousZone.C @@ -370,6 +370,12 @@ void Foam::porousZone::writeDict(Ostream& os, bool subDict) const << indent << token::BEGIN_BLOCK << incrIndent << nl; } + if (dict_.found("note")) + { + os.writeKeyword("note") << string(dict_.lookup("note")) + << token::END_STATEMENT << nl; + } + coordSys_.writeDict(os, true); if (dict_.found("porosity"))