|
[Sponsors] |
November 15, 2005, 17:12 |
Dear All,
I am a newer of
|
#1 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
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 |
|
November 16, 2005, 11:07 |
Hi Buoxiang,
I'm not an exp
|
#2 |
Senior Member
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18 |
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 |
|
November 16, 2005, 12:49 |
Hi Maka:
Thanks for your he
|
#3 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
Hi Maka:
Thanks for your help. I will check as you said. Guoxiang |
|
November 16, 2005, 15:53 |
Hi Maka,
I still not find the
|
#4 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
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 |
|
November 17, 2005, 05:21 |
I found only the opposite, whi
|
#5 |
Senior Member
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18 |
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 |
|
November 17, 2005, 06:00 |
I don't know of any converter
|
#6 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
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. |
|
November 17, 2005, 18:32 |
Dear All,
I have still no
|
#7 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
Dear All,
I have still no idea. Could you please give me more guidance. Thanks deeply. Guoxiang |
|
November 25, 2005, 00:48 |
Dear users,
how can I write t
|
#8 |
Guest
Posts: n/a
|
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 |
|
November 25, 2005, 07:11 |
I think this is what you are l
|
#9 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
give help | sihat | FLUENT | 0 | November 22, 2006 21:21 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |
Anybody could give me some idea? | zhihang | FLUENT | 2 | February 7, 2004 16:26 |
please give a help | zhujianguo | Phoenics | 0 | July 18, 2003 05:36 |
Give me a second | Selina Tracy | Main CFD Forum | 3 | March 29, 2001 07:25 |