CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Is the fluent mesh generate in windows can be used in linux? (http://www.cfd-online.com/Forums/openfoam/69226-fluent-mesh-generate-windows-can-used-linux.html)

panda60 October 16, 2009 00:47

Is the fluent mesh generate in windows can be used in linux?
 
Dear everybody!
I want to use fluentMeshToFoam.
my fluent msh is generated in windows system ,if it can ben used to OpenFoam in linux?
or I have to generate the msh in linux system?
I mean if the msh generated using the same software in different system, are the same ,too?
Thanks.

ericnutsch October 16, 2009 01:01

Yes
 
Yeah a question I can answer! ( im an OpenFoam newbee too)

Yes, it will work I have done it. Just transfer the mesh file to the linux system and use the fluentMeshToFoam utility you mentioned.

Good Luck! Let me know how it goes.

panda60 October 16, 2009 03:19

Quote:

Originally Posted by ericnutsch (Post 232831)
Yeah a question I can answer! ( im an OpenFoam newbee too)

Yes, it will work I have done it. Just transfer the mesh file to the linux system and use the fluentMeshToFoam utility you mentioned.

Good Luck! Let me know how it goes.

Thank you ericnutsch .
I have tried.
The first time it displayed that: can't open file controlDict.
so I copy a arbitrary file from other directory to the system of this case.And it works. But I don't know if the new mesh is right. I want to know the function of the controlDict file? If I shoule write something in it?
Thank you.

ericnutsch October 16, 2009 04:22

I think I may have had to do the same thing come to think of it. I viewed my mesh in paraview and it turned out well. Im not certian how all that controlDict stuff works yet either.

To test your mesh. Go to the directory it is in with the terminal using cd
Then type: paraFoam
If that doesnt work you may have to use foamToVTK to convert it to paraview format then manually open it with paraview.

The openfoam user manual has a pretty good walkthrough for viewing your mesh once you have made it that far.

Good luck!

panda60 October 17, 2009 01:35

Quote:

Originally Posted by ericnutsch (Post 232851)
I think I may have had to do the same thing come to think of it. I viewed my mesh in paraview and it turned out well. Im not certian how all that controlDict stuff works yet either.

To test your mesh. Go to the directory it is in with the terminal using cd
Then type: paraFoam
If that doesnt work you may have to use foamToVTK to convert it to paraview format then manually open it with paraview.

The openfoam user manual has a pretty good walkthrough for viewing your mesh once you have made it that far.

Good luck!

Dear ericnutsch,
Because my paraview always can not run in terminal, You means that I can download an independent ParaView, change data to VTK , and manually open it with paraview?
Thank you, I will try.

ericnutsch October 17, 2009 02:10

You can download paraview independently or use the version that comes with foam. I believe typing "paraview" into the terminal should run it. My system is down or I would test it. It may be "paraView"

paraFoam is just a utility that switches the data around and presents it to paraview.

I could not get my parafoam to work, thus i utilize foamToVTK to build the file that I view from the paraview gui.

Once I get my system running again I might be able to provide some real instructions.

Good luck

panda60 October 19, 2009 06:31

Quote:

Originally Posted by ericnutsch (Post 232994)
You can download paraview independently or use the version that comes with foam. I believe typing "paraview" into the terminal should run it. My system is down or I would test it. It may be "paraView"

paraFoam is just a utility that switches the data around and presents it to paraview.

I could not get my parafoam to work, thus i utilize foamToVTK to build the file that I view from the paraview gui.

Once I get my system running again I might be able to provide some real instructions.

Good luck

Thank you very much.

carl October 19, 2009 12:51

Hi,

I'm relatively new to openfoam too, nevertheless:

using a windows file under unix (linux) usually is posing
only problems in case of a text file, where the carriage
return symbol is different.

most of the input files are stored in text mode, and so
is the controlDict file, where the simulation procedure is
described (time step, Starttime, endtime, simulation
output etc.)

you will need to edit it anyway according to your case.

good luck, Carl


All times are GMT -4. The time now is 01:39.