Dear All,
I am a newer of
Dear All,
I am a newer of the OpenFoam. I have a file of VTK which save the MESH of geomtry. I want to import this file to OpenFoam. But I do not know how to do? Could you please give some help for this matter? Thanks deeply. Guoxiang |
Hi Buoxiang,
I'm not an exp
Hi Buoxiang,
I'm not an expert but I think that you should make the message title more relevant to your question. For example, "importing VTK file to OpenFOAM". This will help people with experience spot and answer your message. Also it will help other people searching for some information using the search link, locate your question and its subsequent replies. Another advice is to search the forum for relevant messages of your topic before posting. You may use the link: http://www.cfd-online.com/cgi-bin/Op...cus/search.cgi Best of luck, Maka |
Hi Maka:
Thanks for your he
Hi Maka:
Thanks for your help. I will check as you said. Guoxiang |
Hi Maka,
I still not find the
Hi Maka,
I still not find the method how to import VTk file to OpenFoam to compute? Do you have any idea? Thanks deeply, Guoxiang |
I found only the opposite, whi
I found only the opposite, which is foamToVTK
/OpenFOAM/OpenFOAM-1.2/applications/utilities/postProcessing/dataConversion/foam ToVTK My advice was only related to your message title. I'm now stuck in a similar probelm of importing solution from a user defined file format (in-house code format) to foam to use it as intial condition. The problem of importing is not easy but what I found yet is that I have to use a utility setField in : /OpenFOAM/OpenFOAM-1.2/applications/utilities/preProcessing/setFields an example of how to use is in the dam break case in the tutorial. But yet I did not figure out how modify the setFieldsDict to do what I want. I do not know if I helped you by providing this info. Try to post in one of the previous message posted about VTK, may one of its users can answer you. best of luck, Maka |
I don't know of any converter
I don't know of any converter from vtk to Foam mesh format.
You could have a look at some of the other converters (gmshToFoam, netgenNeutralToFoam etc.) and modify the one that fits your problem best. There is a description of the vtk file formats on the vtk site. The 'legacy' file format (the one that foamToVTK writes) is probably easiest to parse. |
Dear All,
I have still no
Dear All,
I have still no idea. Could you please give me more guidance. Thanks deeply. Guoxiang |
Dear users,
how can I write t
Dear users,
how can I write this equation in O.Foam : div(rho*vv)=-grad(p)+div(mu[grad(v)+ grad(v)t])+F my probleme is in the transpose of grad(v) (grad(v)t), v is the velocity. thanks |
I think this is what you are l
I think this is what you are looking for
line 115 OpenFOAM-1.2.1/src/turbulenceModels/incompressible/kEpsilon/kEpsilon.C line 132 OpenFOAM-1.2.1/src/turbulenceModels/compressible/kEpsilon/kEpsilon.C |
All times are GMT -4. The time now is 17:37. |