|
[Sponsors] |
[OpenFOAM] Problems opening wigleyHull case in ParaView |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 11, 2015, 12:52 |
Problems opening wigleyHull case in ParaView
|
#1 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
I work on DTCHull but after starting paraFoam I got al lot of errors but they all look like this one
ERROR: In C:\msys\1.0\opt\ParaView-v4.1.0\VTK\IO\Geometry\vtkOpenFOAMReader.cxx, line 6467 vtkOpenFOAMReaderPrivate (0x8522430): Error reading line 0 of C:\OpenFOAM2\cygwin64\home\Windschip\OpenFOAM\Wind schip-2.3.x\run\DTCrun\0/{WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes: included from line 25 of C:\OpenFOAM2\cygwin64\home\Windschip\OpenFOAM\Wind schip-2.3.x\run\DTCrun\0/alpha.water : Can't open I had this porblem also allready on Wigley Hull I think this is perhaps an ordinary problem but i realy dont know where to look for Ron |
|
July 31, 2015, 12:18 |
meshproblem
|
#2 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
I want to ask if somebodey can say in which direction i have to look to solve thet following problem
ERROR: In C:\msys\1.0\opt\ParaView-v4.1.0\VTK\IO\Geometry\vtkOpenFOAMReader.cxx, line 6573 vtkOpenFOAMReaderPrivate (0x82f20b0): Number of cells/points in mesh and field don't match: mesh = 182759, field = 12000 i am working on wigleyHull Openfoam 2.2 Ron |
|
August 10, 2015, 10:35 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Ron,
I've gathered your two posts in a new thread and placed the thread in the sub-forum that is dedicated to issues with ParaView and paraFoam. The first problem has to due with a broken line in the "0/alpha.water" file: Code:
{WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes Code:
$WM_PROJECT_DIR/etc/caseDicts/setConstraintTypes Best regards, Bruno
__________________
|
|
August 11, 2015, 07:18 |
|
#4 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
I work now on Wigley Hull.
After LTSInterfoam and open paraFoam I get ERROR: In C:\msys\1.0\opt\ParaView-v4.1.0\VTK\IO\Geometry\vtkOpenFOAMReader.cxx, line 6573 vtkOpenFOAMReaderPrivate (0x82f20b0): Number of cells/points in mesh and field don't match: mesh = 182759, field = 12000 I close everything Then I copy after snappyhexMesh, file 1 and 2 in 0 and run LTSInterFoam and ParaFoam The ERROR is gone and everything looks good but now I cant see the form of the hull anymore. Also the contour is now in the middele and the ships hull, when i have open Wigley stl, is above the surface. Ron |
|
August 12, 2015, 17:58 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Ron,
You're not providing enough details to diagnose the problem, more specifically: What are the exact steps you are using for generating the mesh? Therefore, I'll have to suggest that you do at least the following steps:
The key details here are as follows:
Best regards, Bruno
__________________
|
|
August 13, 2015, 05:34 |
foamCleanTutorials
|
#6 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
It was never like this, but even the first code don't work anymore.
I use openFoam2.3 for windows perhaps that is the problem It can't find the the order $ foamCleanTutorials /opt/OpenFOAM/OpenFOAM-2.3.x/bin/tools/CleanFunctions: regel 30: $'\r': opdracht niet gevonden /opt/OpenFOAM/OpenFOAM-2.3.x/bin/tools/CleanFunctions: regel 44: $'\r': opdracht niet gevonden /opt/OpenFOAM/OpenFOAM-2.3.x/bin/tools/CleanFunctions: regel 45: syntaxfout nabij onverwacht symbool '$'\r'' Ron |
|
August 13, 2015, 08:24 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Ron,
Sorry, I was expecting you had a functioning integration with MSys or Cygwin... I guess not... you probably should report this issue to whomever provided you that port of OpenFOAM for Windows. Then my suggestion is that you take a few steps back and start working with a clean copy of a tutorial case from OpenFOAM's "tutorials", because those are meant to work as intended. Once you have managed to get ParaView to work well with this case, you can then start reconstructing your previous case, based on this tutorial case. Best regards, Bruno
__________________
|
|
August 13, 2015, 08:45 |
|
#8 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
Thank you for your quick reactions. I shall start again and will change what I know till now.
This openFoam for windows is provided with cygwin64 and is rather good te handle.(alltough still no result) Ron |
|
August 13, 2015, 11:30 |
paraFoam
|
#9 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
It took some time but the form of the ship was there in paraview, but when I make a contour it exist only of little pieces with strange shapes.
I follow you instructions and start from the beginning. BlockMesh without Plane so only symmetry I did that also with the files in the O folder I change 0 to zero.old i did snappHexMesh -overwrite in paravieuw good setFields good. LTSInterFoam not working. it could not find the 0 folder. I change zero.old in 0 Than it could not find Hull. I change Hull-wall in all 0 files in Hull. Than LTSInterfoam was working But now there are the problems I wrote in the beginning of this message. sorry to border you again. Ron |
|
August 13, 2015, 11:38 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer:
|
|
August 13, 2015, 11:44 |
|
#11 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
Thank you very much
I knew there is still a lot of work to do. Ron |
|
August 24, 2015, 07:53 |
|
#12 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
Everything of the wigleyHull is working fine. I have worked in paraview.
Now I want to import my own hull. I changed the names in SHM. I work for the geometry in Rhino and make a mesh and save it ascii as .stl and import that in constant/triSurface. After that I have worked SHM and my own hull looks good in paraview, but after setfields en LTSInterfoam the wigleyHull returns to my surpries and my own hull is disapeared. Ron |
|
August 24, 2015, 14:29 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Ron,
I guess that you placed a new STL file in the folder "constant/triSurface" and did not change the files "system/snappyHexMeshDict" and "system/surfaceFeatureExtractDict". You will need to generate a new mesh and after running the Allrun script, you should check the contents of the file "log.snappyHexMesh" to confirm if the mesh was generated correctly or not. If you have problems using snappyHexMesh, please use the respective sub-forum: http://www.cfd-online.com/Forums/ope...snappyhexmesh/ Best regards, Bruno
__________________
|
|
August 26, 2015, 05:15 |
|
#14 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
Dear bruno
I placed a new STL file in the folder "constant/triSurface" and did change the files in system/snappyHexMeshDict"and"system/surfaceFeatureExtractDict". I see the hull after running paraview but when I run setFields and LTSInterFoam and running paraview my Hull is changed in wigleyHull Ron |
|
August 26, 2015, 19:24 |
|
#15 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Ron,
setFields and LTSInterFoam should not have modified your mesh. Please provide the complete details on how you are doing each step, for example: how are you running each command? Because there is some specific step that is breaking the work-flow and if you don't tell me what you're doing exactly, I can't guess what's wrong. All I know is that setFields and LTSInterFoam work with the mesh that their given and they do not make any changes to the mesh. Best regards, Bruno
__________________
|
|
August 31, 2015, 09:24 |
|
#16 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
dear Bruno
I have solved the problem. I had to copy the Original setFields again. and now it is working in paraFoam with my own Hull. Now I start with post processing. From there to lift and drag. I want at the end come to a polardiagram. Is there allready a thread for that subject. Ron |
|
September 10, 2015, 10:26 |
post processing
|
#18 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
two questions
1 To claculate drag and lift; is it needed to know exact the position of the geometry in this case the hull 2 How can I calculate drift and drag for different velocities. Ron |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 15:53 |
[OpenFOAM.org] Problems with Paraview (OpenFOAM 2.4.0 from source code in Ubuntu 14.04) | Gerrit | OpenFOAM Installation | 4 | August 15, 2015 12:05 |
[ImmersedBoundary] foam-extend 3.1, Immersed boundary cavity flow case modification problems | Anamitra | OpenFOAM Community Contributions | 0 | March 18, 2015 09:50 |
[OpenFOAM] ParaView 4.10 and OpenFOAM 2.3.0 Multiregion and decomposed case | romant | ParaView | 3 | April 7, 2014 16:42 |
How to open two case in paraview? | bowlderyu | OpenFOAM | 2 | June 2, 2009 05:20 |