updated DebugSwitches, surfaceWriter

- added obj surfaceWriter
- don't bother with prepended field names on obj and stl surfaceWriter.
  It fills the disk and suggests differences where there are none.
This commit is contained in:
Mark Olesen
2009-03-09 15:37:54 +01:00
parent b968e62ef9
commit 6ecdf4fc41
16 changed files with 601 additions and 72 deletions

View File

@ -19,7 +19,33 @@ interpolationScheme cellPointFace;
writeFormat raw;
sampleSets ( face { name cone25 ; axis x ; start ( 0 0 0 ) ; end ( 0.09208087 0.042939 0 ) ; nPoints 92 ; } face { name cone55 ; axis x ; start ( 0.09208087 0.042939 0 ) ; end ( 0.153683 0.13092 0 ) ; nPoints 61 ; } face { name base ; axis x ; start ( 0.153683 0.13092 0 ) ; end ( 0.193675 0.13092 0 ) ; nPoints 40 ; } );
sampleSets
(
face
{
name cone25;
axis x;
start ( 0 0 0 );
end ( 0.09208087 0.042939 0 );
nPoints 92;
}
face
{
name cone55;
axis x;
start ( 0.09208087 0.042939 0 );
end ( 0.153683 0.13092 0 );
nPoints 61;
}
face
{
name base;
axis x;
start ( 0.153683 0.13092 0 );
end ( 0.193675 0.13092 0 );
nPoints 40;
}
);
fields ( p wallHeatTransRate );

View File

@ -21,7 +21,33 @@ setFormat raw;
surfaceFormat vtk;
sets ( cone25 { type face ; axis x ; start ( 0 0 0 ) ; end ( 0.09208087 0.042939 0 ) ; nPoints 92 ; } cone55 { type face ; axis x ; start ( 0.09208087 0.042939 0 ) ; end ( 0.153683 0.13092 0 ) ; nPoints 61 ; } base { type face ; axis x ; start ( 0.153683 0.13092 0 ) ; end ( 0.193675 0.13092 0 ) ; nPoints 40 ; } );
sets
(
cone25
{
type face;
axis x;
start ( 0 0 0 );
end ( 0.09208087 0.042939 0 );
nPoints 92;
}
cone55
{
type face;
axis x;
start ( 0.09208087 0.042939 0 );
end ( 0.153683 0.13092 0 );
nPoints 61;
}
base
{
type face;
axis x;
start ( 0.153683 0.13092 0 );
end ( 0.193675 0.13092 0 );
nPoints 40;
}
);
surfaces ( );

View File

@ -21,9 +21,19 @@ setFormat raw;
surfaceFormat vtk;
sets ( line { type face ; axis x ; start ( -5 0 0 ) ; end ( 5 0 0 ) ; nPoints 100 ; } );
sets
(
line
{
type face;
axis x;
start ( -5 0 0 );
end ( 5 0 0 );
nPoints 100;
}
);
surfaces ( );
surfaces ();
fields ( p U.component(0) T rho );

View File

@ -19,9 +19,19 @@ interpolationScheme cellPoint;
setFormat raw;
sets ( data { type uniform ; axis x ; start ( -4.995 0 0 ) ; end ( 4.995 0 0 ) ; nPoints 1000 ; } );
sets
(
data
{
type uniform;
axis x;
start ( -4.995 0 0 );
end ( 4.995 0 0 );
nPoints 1000;
}
);
surfaces ( );
surfaces ();
fields ( T magU p );

View File

@ -19,9 +19,19 @@ interpolationScheme cellPoint;
setFormat raw;
sets ( data { type uniform ; axis x ; start ( -4.995 0 0 ) ; end ( 4.995 0 0 ) ; nPoints 1000 ; } );
sets
(
data
{
type uniform;
axis x;
start ( -4.995 0 0 );
end ( 4.995 0 0 );
nPoints 1000;
}
);
surfaces ( );
surfaces ();
fields ( T magU p );