mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: foamToEnsight: work with more >1000 times
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -68,7 +68,7 @@ void ensightCloudField
|
|||||||
ensightCaseFile.setf(ios_base::left);
|
ensightCaseFile.setf(ios_base::left);
|
||||||
ensightCaseFile
|
ensightCaseFile
|
||||||
<< ("c" + fieldObject.name()).c_str()
|
<< ("c" + fieldObject.name()).c_str()
|
||||||
<< (' ' + prepend + "***." + cloudName
|
<< (' ' + prepend + "****." + cloudName
|
||||||
+ "." + fieldObject.name()).c_str()
|
+ "." + fieldObject.name()).c_str()
|
||||||
<< nl;
|
<< nl;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -201,7 +201,7 @@ void writePatchField
|
|||||||
<< pTraits<Type>::typeName
|
<< pTraits<Type>::typeName
|
||||||
<< " per element: 1 "
|
<< " per element: 1 "
|
||||||
<< setw(15) << pfName
|
<< setw(15) << pfName
|
||||||
<< (' ' + prepend + "***." + pfName).c_str()
|
<< (' ' + prepend + "****." + pfName).c_str()
|
||||||
<< nl;
|
<< nl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -344,7 +344,7 @@ void ensightField
|
|||||||
<< pTraits<Type>::typeName
|
<< pTraits<Type>::typeName
|
||||||
<< " per element: 1 "
|
<< " per element: 1 "
|
||||||
<< setw(15) << vf.name()
|
<< setw(15) << vf.name()
|
||||||
<< (' ' + prepend + "***." + vf.name()).c_str()
|
<< (' ' + prepend + "****." + vf.name()).c_str()
|
||||||
<< nl;
|
<< nl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -558,7 +558,7 @@ void ensightPointField
|
|||||||
<< pTraits<Type>::typeName
|
<< pTraits<Type>::typeName
|
||||||
<< " per node: 1 "
|
<< " per node: 1 "
|
||||||
<< setw(15) << pf.name()
|
<< setw(15) << pf.name()
|
||||||
<< (' ' + prepend + "***." + pf.name()).c_str()
|
<< (' ' + prepend + "****." + pf.name()).c_str()
|
||||||
<< nl;
|
<< nl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -243,7 +243,7 @@ int main(int argc, char *argv[])
|
|||||||
// test pre check variable if there is a moving mesh
|
// test pre check variable if there is a moving mesh
|
||||||
if (meshMoving)
|
if (meshMoving)
|
||||||
{
|
{
|
||||||
geomFileName = prepend + "***";
|
geomFileName = prepend + "****";
|
||||||
}
|
}
|
||||||
|
|
||||||
ensightCaseFile
|
ensightCaseFile
|
||||||
@ -292,7 +292,7 @@ int main(int argc, char *argv[])
|
|||||||
<< (
|
<< (
|
||||||
"measured: 1 "
|
"measured: 1 "
|
||||||
+ prepend
|
+ prepend
|
||||||
+ "***."
|
+ "****."
|
||||||
+ cloudIter.key()
|
+ cloudIter.key()
|
||||||
).c_str()
|
).c_str()
|
||||||
<< nl;
|
<< nl;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -35,7 +35,7 @@ namespace Foam
|
|||||||
word itoa(const label n)
|
word itoa(const label n)
|
||||||
{
|
{
|
||||||
const label offset = '0';
|
const label offset = '0';
|
||||||
const label length = 3;
|
const label length = 4;
|
||||||
|
|
||||||
char val[length + 1];
|
char val[length + 1];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user