|
[Sponsors] |
July 17, 2008, 16:33 |
Hello openFoam developers!!!
|
#1 |
New Member
Thiago Reis Carvalho Cabral Miliante
Join Date: Mar 2009
Location: Rio de Janeiro, Rio de Janeiro, Brazil
Posts: 16
Rep Power: 17 |
Hello openFoam developers!!!
I am creating a simple GUI to easy the input of internal and boundary conditions for openFoam in GTK/VTK. vtk is very simple to use, but incorporating the Foam data to it is driving me crazy. To add a STL geometry, it is as simple as: vtkSTLReader * reader = vtkSTLReader::New(); reader->SetFileName ("ship.stl"); //param: char * filename reader->Update(); reader->GetOutput(); But not for vtkFoam. Does anyone know how to do that? The program is almost complete, I just want to visualize the mesh and show the boundary conditions, so some people not "familiar" with the command line can use it here. Sincerely, T. |
|
July 17, 2008, 16:52 |
>But not for vtkFoam. Does any
|
#2 |
New Member
Bertram Behrens
Join Date: Mar 2009
Posts: 3
Rep Power: 17 |
>But not for vtkFoam. Does anyone know how to do that?
Do *what*? What is your question? You can visualize your mesh with paraFoam and set your input data with FoamX. No need to use the command line. Though I doubt that anybody who doesn't understand shell commands will have any success with OpenFoam |
|
July 22, 2008, 17:24 |
Well, I understand I can visua
|
#3 |
New Member
Thiago Reis Carvalho Cabral Miliante
Join Date: Mar 2009
Location: Rio de Janeiro, Rio de Janeiro, Brazil
Posts: 16
Rep Power: 17 |
Well, I understand I can visualize the mesh with paraFoam, I do that. FoamX is anything but user friendly. I decided to make my own preFoam. So far so good, I just cant see the mesh. I noticed that there are vtkFoam libraries available and I would like to learn how to use them, if possible.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Could you please help me about the VTKFoam | liugx212 | OpenFOAM Pre-Processing | 5 | February 13, 2008 12:31 |
Please help about the VTKFoam | liugx212 | OpenFOAM Running, Solving & CFD | 0 | November 18, 2005 19:27 |