CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Internal field vectors in U file in 0 folder is not readable

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By lebc

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2019, 08:24
Default Internal field vectors in U file in 0 folder is not readable
  #1
New Member
 
Sama
Join Date: Jan 2019
Posts: 16
Rep Power: 7
Samsam2 is on a distinguished road
Hello,
I am working on a OpenFoam case. Opening 0 folder, U file includes some vectors written in an unknown format. Has anybody same experience?
Here is copy of the issue:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format binary;
class volVectorField;
arch "LSB;label=32;scalar=64";
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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


internalField nonuniform List<vector>
2572476
( ˄HqD+V ?=@0))
lfZٿpl٤:V#?@ϱy{?k aMͿN
>ܖ[ u"ns@Yò?5ϸ*e⿎/r*?ڙ KSa}tOo㗴?/ޑ4O  Q_*yc?H ½'пPjQY9}X T¿l$iy֞H%ӿ!+*ޱncXS ?BŽg**uTb8za?:#1z( Z?E!A x&¿˕k*gMe⣯b sVs2X#Vh9? \Oэ| 7UŮNpF.lXޫOa4
_Nnx t?MJ?A쉎Pƿt?kr E=J4yĿZ^_q
X0ɐ 6N*e7x$Ğe?U6\kwҿ**i[G:SXn<Ͽ 5)[1i*@/4kѸV;oʫ|184* eH%əi~?ϱ̱S  $֫?ƞR-!dXLn?Mv)0EZuU=D*% @묝P3t?CZ|<$#G@j 018Bo])z᳿Im~0`&2 |"Z^οYPJ}NL6ㇿ%,6i ͳEjT
9#XgXЮ坙̿6;av?X@@S ?uQfu¿f07)olaXҿki '0񳿖wcʬ؛>*]l.Co;t}?<п6cJ^V08 DqςlTKxnȖͿ/Wdh =pͿC Ӿq
Samsam2 is offline   Reply With Quote

Old   November 19, 2019, 15:47
Default
  #2
Member
 
Luis Eduardo
Join Date: Jan 2011
Posts: 85
Rep Power: 15
lebc is on a distinguished road
This is because of the writeFormat you have in your controlDict file:

Code:
FoamFile
{
version 2.0;
format binary;
class volVectorField;
arch "LSB;label=32;scalar=64";
location "0";
object U;
}
Go to your controlDict file and change writeFormat from binary to ascii, it will probably solve your problem.
Samsam2 likes this.
lebc is offline   Reply With Quote

Old   November 20, 2019, 14:55
Default
  #3
New Member
 
Sama
Join Date: Jan 2019
Posts: 16
Rep Power: 7
Samsam2 is on a distinguished road
Thank you!!
Samsam2 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 05:18


All times are GMT -4. The time now is 07:27.