|
[Sponsors] |
[OpenFOAM] Error reading variable velocity (0/U.air) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 2, 2015, 10:20 |
Error reading variable velocity (0/U.air)
|
#1 |
Member
Pierluigi Cirrottola
Join Date: Jun 2013
Posts: 52
Rep Power: 12 |
Hi to everybody,
sometime, when I use a variable speed like this (in 0/U.air file): Code:
boundaryField { Bocca { type uniformFixedValue; uniformValue table ( (0 (0 0 0)) (0.1 (0 0 12)) (3.5 (0 0 12)) (4 (0 0 0)) ); phi phi.air; alpha alpha.air; } etc... Code:
ERROR: In /home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 6467 vtkOpenFOAMReaderPrivate (0x40c36b0): Error reading line 39 of /media/piero/ExpansionDrive/Root/CMS_oF_2015/oF_cfd/CFL_test/0/U.air: Expected a number, found ( Can someone suggest a solution? Many thanks Piero |
|
July 2, 2015, 15:13 |
|
#2 |
Senior Member
|
Hi,
It is not paraview and vectors. It is native paraview OpenFOAM reader and uniformFixedValue (table). So either you ignore error for 0 time (first save will just write value in file, which paraview reads quite successfully), or use OpenFOAM file reader (i.e. compile plugin, use OpenFOAM extension). |
|
July 3, 2015, 05:04 |
|
#3 | |
Member
Pierluigi Cirrottola
Join Date: Jun 2013
Posts: 52
Rep Power: 12 |
Quote:
I tried you first suggestion (to ignore time 0 errors), but it doesn't work: in fact, also the second time-step is written as the first, and Paraview 4.3.1 reports the same (=previous) error. The second time step 0.002/U.air is written as quoted: Code:
internalField nonuniform List<vector> 11343 ( (-0.00154137 -0.0263397 -0.000788795) (-0.00271444 -0.0279804 6.3755e-05) About you second suggestion (compile plugin, use OpenFOAM extension), I have no time in this moment, by I will do a.s.a.p. Thank you for your help. |
||
July 3, 2015, 06:50 |
|
#4 | |
Senior Member
|
Hi,
Quote:
Code:
... uniformValue table ( (0 (0 0 0)) (0.1 (0 0 12)) (3.5 (0 0 12)) (4 (0 0 0)) ); ... |
||
July 5, 2015, 05:00 |
again . . .
|
#5 | |
Member
Pierluigi Cirrottola
Join Date: Jun 2013
Posts: 52
Rep Power: 12 |
Quote:
Well, this is my actual workaround: - reconstructPar (if run was parallelized) - foamToEnsight -nodeValues At this point, paraView reads perfectly Ensight case Thanks of your interest Piero |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF comilation error. urgent help please | m zubair | Fluent UDF and Scheme Programming | 4 | February 10, 2019 11:19 |
Variable velocity boundary condition | Madeleine P. Vincent | OpenFOAM Running, Solving & CFD | 2 | May 6, 2013 13:38 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 04:35 |
time variable velocity | Michelle | FLUENT | 4 | March 7, 2008 05:23 |
Time Variable Velocity programming? | Michelle | FLUENT | 2 | February 18, 2008 12:38 |