CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Give me help Thanks

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2005, 16:12
Default Dear All, I am a newer of
  #1
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17
liugx212 is on a distinguished road
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
liugx212 is offline   Reply With Quote

Old   November 16, 2005, 10:07
Default Hi Buoxiang, I'm not an exp
  #2
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18
maka is on a distinguished road
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
maka is offline   Reply With Quote

Old   November 16, 2005, 11:49
Default Hi Maka: Thanks for your he
  #3
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17
liugx212 is on a distinguished road
Hi Maka:

Thanks for your help. I will check as you said.

Guoxiang
liugx212 is offline   Reply With Quote

Old   November 16, 2005, 14:53
Default Hi Maka, I still not find the
  #4
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17
liugx212 is on a distinguished road
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
liugx212 is offline   Reply With Quote

Old   November 17, 2005, 04:21
Default I found only the opposite, whi
  #5
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18
maka is on a distinguished road
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
maka is offline   Reply With Quote

Old   November 17, 2005, 05:00
Default I don't know of any converter
  #6
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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.
mattijs is offline   Reply With Quote

Old   November 17, 2005, 17:32
Default Dear All, I have still no
  #7
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17
liugx212 is on a distinguished road
Dear All,

I have still no idea. Could you please give me more guidance.

Thanks deeply.
Guoxiang
liugx212 is offline   Reply With Quote

Old   November 24, 2005, 23:48
Default Dear users, how can I write t
  #8
langloi
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
  Reply With Quote

Old   November 25, 2005, 06:11
Default I think this is what you are l
  #9
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
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
eugene is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
give help sihat FLUENT 0 November 22, 2006 20:21
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07
Anybody could give me some idea? zhihang FLUENT 2 February 7, 2004 15:26
please give a help zhujianguo Phoenics 0 July 18, 2003 04:36
Give me a second Selina Tracy Main CFD Forum 3 March 29, 2001 06:25


All times are GMT -4. The time now is 11:21.