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

Sampling on a patch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2005, 19:45
Default How to sample arbitrary point
  #1
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17
liu is on a distinguished road
How to sample arbitrary point value at the patch if we have BoundaryField?

The problem I am solving is fluid structure interaction. Two meshes(one for fluid domain, the other for structure domain) are used. I can use patchToPatchInterpolation to couple the patches on both sides of the interface(BTW, could anybody give me an example of patchToPatchInterpolation?). But unfortunately, the structure problem is 2D. That means the patch on the structure side is an empty patch. In fact, I want to mapping a BoundaryField into a 2D volume mesh. One of the way to do this is just as my question: sample data on that patch.

Does anyone have good suggestions?
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   May 24, 2005, 08:49
Default The patch to patch interpolati
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
The patch to patch interpolation class is templated on the type of patch. Therefore, you should be able to create a patch by putting a cutting plane through your 2-D geometry and then doing patch-to-patch interpolation from the cut onto the boundary patch on the other side.

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   May 24, 2005, 18:11
Default Thanks, Hrv. Now I can mapp
  #3
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17
liu is on a distinguished road
Thanks, Hrv.

Now I can mapping between the cutting plane and the fluid patch. The problem now is how to "mapping" between the cutting plane and the 2D volume.

I know that the cutting plane can sample the 2D volume.
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   May 25, 2005, 07:52
Default Well, in FOAM a 2-D geometry w
  #4
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
Well, in FOAM a 2-D geometry will actually be a 1-cell thick layer of 3-D cells. If you put a cutting plane through it, you will get a 2-D slice and all will be well.

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak 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
Sampling rhoFlux in electrostaticFoam sverdoold OpenFOAM Post-Processing 14 November 16, 2010 17:19
Help! Sampling! HP FLUENT 0 May 15, 2008 11:29
Point sampling sathiah OpenFOAM Post-Processing 2 January 11, 2007 11:58
sampling theorem and cfd luis Main CFD Forum 0 December 18, 2006 00:06
Sampling of statistical data Boerge Main CFD Forum 0 July 25, 2006 05:40


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