forces: write in OpenFOAM ListList format so they can be read by the OpenFOAM parser

This commit is contained in:
Henry
2014-01-14 23:09:03 +00:00
parent 238c8b234d
commit 6d19668f8f
2 changed files with 35 additions and 35 deletions

View File

@ -33,7 +33,7 @@ License
namespace Foam
{
defineTypeNameAndDebug(forceCoeffs, 0);
defineTypeNameAndDebug(forceCoeffs, 0);
}
@ -100,7 +100,7 @@ void Foam::forceCoeffs::writeFileHeader(const label i)
for (label j = 0; j < nBin_; j++)
{
const word jn('[' + Foam::name(j) + ']');
const word jn('(' + Foam::name(j) + ')');
writeTabbed(file(i), "Cm" + jn);
writeTabbed(file(i), "Cd" + jn);
writeTabbed(file(i), "Cl" + jn);