# Sampling on a patch

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

 May 23, 2005, 18:45 How to sample arbitrary point #1 Senior Member   Xiaofeng Liu Join Date: Mar 2009 Location: State College, PA, USA Posts: 118 Rep Power: 9 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/

 May 24, 2005, 07:49 The patch to patch interpolati #2 Senior Member   Hrvoje Jasak Join Date: Mar 2009 Location: London, England Posts: 1,784 Rep Power: 22 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

 May 24, 2005, 17:11 Thanks, Hrv. Now I can mapp #3 Senior Member   Xiaofeng Liu Join Date: Mar 2009 Location: State College, PA, USA Posts: 118 Rep Power: 9 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/

 May 25, 2005, 06:52 Well, in FOAM a 2-D geometry w #4 Senior Member   Hrvoje Jasak Join Date: Mar 2009 Location: London, England Posts: 1,784 Rep Power: 22 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

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post sverdoold OpenFOAM Post-Processing 14 November 16, 2010 17:19 HP FLUENT 0 May 15, 2008 10:29 sathiah OpenFOAM Post-Processing 2 January 11, 2007 11:58 luis Main CFD Forum 0 December 18, 2006 00:06 Boerge Main CFD Forum 0 July 25, 2006 04:40

All times are GMT -4. The time now is 18:50.