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

Experimental data mapping.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2011, 22:26
Default Experimental data mapping.
  #1
Senior Member
 
Join Date: Mar 2009
Posts: 225
Rep Power: 18
paka is on a distinguished road
Good day to you all,

I have some experimental data available and I would like to map it on my OpenFOAM computational grid. I plan to use interFoam solver which relates to VoF problem. The initial condition is such as I know the initial water domain shape from experiments, which was extracted from video. I also know the water fluid velocity field, which say is constant through the whole water domain.

How can I map this kind of experimental data on top of my computational mesh?

The way I see it, I need to setFields (or something like this) on top of my computational grid, so I get irregularly shaped water domain. Second step involves velocity assignment to his irregularly shaped water domain.

Any tips on how to do it, possibly tutorials? Anyone has any experience in this matter?

Many very thanks and wish you all a great day,
K
paka is offline   Reply With Quote

Old   January 11, 2011, 07:46
Default
  #2
Senior Member
 
Nakul
Join Date: Apr 2010
Location: India
Posts: 147
Rep Power: 16
nakul is on a distinguished road
Hi

I haven't tried this before but hope this helps. There is a file in buoyantCavity tutorial in buoyantSimpleFoam (heat transfer) called createGraphs in validation folder. It has some code to plot simulation data over experimental data.

Have a look at it and see if that helps you.
nakul is offline   Reply With Quote

Old   January 11, 2011, 08:02
Default
  #3
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
Another suggestion may be to use the mapFields utility. You can interpolate the data from one mesh to another, and then use the interpolated field as an initial condition.
Bernhard is offline   Reply With Quote

Old   January 11, 2011, 14:52
Default
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 225
Rep Power: 18
paka is on a distinguished road
Thank you very much for your replies, but this is not what I want.

In some sense, I want to do what Bernard wrote. However, I do not have any mesh data, I just have incoming water shape profile (from experiments) and I know the velocity of the water entering the domain. Now I would like to map/put those experimental results (from that particular time frame) on top of my computational mesh, so it will start from this prescribed point/conditions.

Many very thanks for you time,
K
paka is offline   Reply With Quote

Old   January 12, 2011, 06:00
Default
  #5
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
So I assume you now have data like this:
x y alpha u v w
Or something like that? In princple it is possible to construct a mesh out of your xy data (I know there is an option in Tecplot), then your only problem is to convert your data to a format that OpenFOAM can handle. I can give you no useful advise how to do this unfortunately. Maybe it is a better idea to just write your own utility, that can handle this data, that would be useful as a more general method. Good luck!
Bernhard is offline   Reply With Quote

Old   January 13, 2011, 17:27
Default
  #6
Senior Member
 
Join Date: Mar 2009
Posts: 225
Rep Power: 18
paka is on a distinguished road
Yes, something like this. I less care on x-y position, say I can use arbitrary grid and I can apply my water fluid volume at any horizontal location. Said that,tThe thing I care the most is the that water domain shape which I know and I know it's velocity. Long story short, let's say, I want to map it onto my domain at different horizontal locations and see if there is any effect of this initial location on it's final flow shape/configuration.

Many very thanks for you reply. I was looking for a clear answer, which I got.

Krystian
paka is offline   Reply With Quote

Reply


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
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19
Looking for the experimental data COLOPOLO Main CFD Forum 2 January 29, 2004 00:38
Simulated data vs. experimental data moiami FLUENT 0 December 19, 2002 02:03
Experimental data for fence at low Reynolds number Kim Bindesboll Andersen Main CFD Forum 1 September 26, 2002 14:54


All times are GMT -4. The time now is 13:10.