CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   strange pressure file characters (http://www.cfd-online.com/Forums/openfoam-solving/112953-strange-pressure-file-characters.html)

immortality February 8, 2013 11:16

strange pressure file characters
 
when I used binary and compressed in controlDict the properties are unreadable (like p):
Code:

FoamFile
{
    version    2.0;
    format      binary;
    class      volScalarField;
    location    "0.000118";
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [1 -1 -2 0 0 0 0];

internalField  nonuniform List<scalar>
4000
("\83'\8F\D0Aƒ\F0&\CAA<X\B0\E3\99\CCAy\84\DD\CAAp\EFj\AA\A2\CBA\BCI\E9\F1R\CBA(\DE\C6K\CBAȃQ7\E1\CAA7\EEVפ\CAA4\C0.hf\CAA5\E0\E8\90$\CAA\FC7\CE\F6\D9\C9AAй\A1\86\C9A\9F\FF\AE>,\C9A\BF\93\A7\BA\C8\C8A\A8)\E2
Z\C8A\FE\C0\AC\DD\C7A}ZL\8BS\C7A\FD\AE⩻\C6A῜\A1\C6A\D3\\A2\89S\C5AڪL\82\C4A\9Ah\B2}\9A\C3A\C6c\FA\97\C2Abg\84z\C1A\C37\92\B7>\C0A꠫K\E0\BEA\C2N\E0.]\BDAF\B8/б\BBA\EEٮ\FAٹA\B7\D3\CBҷA\DD{ʕ\B5A\B0:[\FA \B3Aޤ o\B0A\A4F{{\ADA\BEB\E4\B2A\AAA{+\C4e\BD\A6AC\F0?\EA\A2AQ\9F\E4mŮAx\8B\C1E\9AA]]\E6m\95A\D7(\B29\90A\F7\AC=\BE\A7\8AA\CFH\FF\B8\84A\94\AC\8Bul~ASuu\EA\C7wAD\DC\8C\CFpA\E2\FF\F5|\89iA`\EA@/\FCaA\EAY4.ZA\AD\FB\96^%RAY\89\84\F7\E7IAGG.\E5{AA\F34?\A0\E78A1\8B\9E20A\B9\A9\89e'A]\EF%D\8AA"\85\EF\ABAg|n\D4\D6 AJ|\F8jA3-Qh\FBAU0\F3A\A0ap\00\EBA\B6\DEq\FB@\E3A\93\BB\D7\C6\F4\DBA\FB\EC6\D5A!\89&"\CFA\F4bC\91\D8\C9AS#\C8/z\C5AG\D7n\E0&\C2A8\92\EA\B0\F9\BFA\B6K\F2\EF\BFAO\9Ag\F6P\BFA    \E1\F8\FC\BD\C0A\C7_4\C3A\8FԠ\8C\C6A\DAV$\8C\CAA\ADn~]\FC\CEA\C8X2\F5\AA\

Code:

application    rhoPimpleFoam;

startFrom      latestTime;

startTime      0;

stopAt          endTime;

endTime        0.020708089;

deltaT          5.6e-9;

writeControl    adjustableRunTime;

writeInterval  .000001;

purgeWrite      0;

writeFormat    binary;

writePrecision  10;

writeCompression on;

timeFormat      general;

timePrecision  6;

runTimeModifiable true;

adjustTimeStep  yes;

maxCo          0.1;

maxDeltaT      .0001;

libs ( "libOpenFOAM.so" "libgroovyBC.so" ) ;

what should i do now?:confused:

TBO September 16, 2013 08:03

Use writeFormat ascii; instead


All times are GMT -4. The time now is 18:01.