|
[Sponsors] |
[OpenFOAM] Paraview canot visualize codedFixedValue velocity |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 16, 2013, 16:08 |
Paraview canot visualize codedFixedValue velocity
|
#1 |
Member
Ovie Doro
Join Date: Jul 2009
Posts: 99
Rep Power: 17 |
Hi Foamers:
I have a codedFixedValue boundary condition (for velocity and wall motion) at a moving wall boundary. But when I load up the case on paraview, it gives an error when trying to read the velocity and pointsMotion files. Error message looks like: " Error reading line xxx of casename/0/U: Unsupported directive { " As a result I canot load velocity files and cant generate streamlines for the simulation. Is there a way around this?? Thanks. |
|
September 2, 2013, 14:08 |
|
#2 |
Member
|
I have the same problem. Did you find a solution?
Edit: You *can* delete the code block ('#{' to '#}') out of the appropriate results files, but this is a bit painful. I'm not sure what effect it has on subsequent time steps either. Is there another way to make paraview cooperate? |
|
September 7, 2013, 10:52 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
A few questions
And this tutorial uses code for "0/U". Best regards, Bruno
__________________
|
|
September 7, 2013, 15:21 |
|
#4 | |
Member
|
Quote:
2) OpenFOAM 2.1.x 3) case.foam file, opened from Paraview (not paraFoam) 4) I actually get the error: Code:
Making dependency list for source file codeStreamTemplate.C codeStreamTemplate.C(61): error: invalid line number #line 0 "" ^ Thanks Bruno! |
||
September 7, 2013, 15:37 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ken,
Unfortunately the internal reader in ParaView 3.12.0 to 4.0.1 cannot handle many of the new things that have been implemented since OpenFOAM 2.0.0. The only fail-safe measure I can suggest is to rely on foamToVTK: Code:
foamToVTK -poly Then open in ParaView the files that are in the newly created VTK folder. The other possible solution (that I haven't tested) is to build the latest plug-in that Takuya has made: http://openfoamwiki.net/index.php/Co...r_for_ParaView But this requires that you also build ParaView from source code... Best regards, Bruno
__________________
|
|
September 7, 2013, 15:55 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
If the paraFoam command is opening with the file extension ".OpenFOAM" and is using OpenFOAM's own plug-in reader, then it should work. Although it won't be able to load decomposed cases.
If by any chance you want to build OpenFOAM's own plug-in for ParaView 4.0.1, see this bug report: http://www.openfoam.org/mantisbt/view.php?id=621
__________________
|
|
|
|
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 12:19 |
visualize the particle with various diameter using Paraview | openfoammaofnepo | OpenFOAM | 3 | June 25, 2018 18:18 |
Setting velocity profile at the inlet using codedFixedValue | CTR | OpenFOAM Pre-Processing | 1 | May 20, 2014 13:01 |
[OpenFOAM] Visualize pointSet in ParaView | Arnoldinho | ParaView | 2 | July 12, 2012 05:58 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |