From 0b9ff0aa53cd5f3cbcc7f5f22b1b84a3205df6bf Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Mon, 26 Jul 2010 13:18:54 +0200 Subject: [PATCH] ENH: add trailing commas to proSTAR *.inp to cope with STARCCM+ read bug --- src/surfMesh/surfaceFormats/starcd/STARCDsurfaceFormatCore.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/surfMesh/surfaceFormats/starcd/STARCDsurfaceFormatCore.C b/src/surfMesh/surfaceFormats/starcd/STARCDsurfaceFormatCore.C index 906bcf340e..80db186628 100644 --- a/src/surfMesh/surfaceFormats/starcd/STARCDsurfaceFormatCore.C +++ b/src/surfMesh/surfaceFormats/starcd/STARCDsurfaceFormatCore.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd. + \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -91,7 +91,7 @@ void Foam::fileFormats::STARCDsurfaceFormatCore::writeCase forAll(zoneLst, zoneI) { - os << "ctable " << zoneI + 1 << " shell" << nl + os << "ctable " << zoneI + 1 << " shell" << " ,,,,,," << nl << "ctname " << zoneI + 1 << " " << zoneLst[zoneI].name() << nl; }