|
[Sponsors] |
May 23, 2005, 19:45 |
How to sample arbitrary point
|
#1 |
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17 |
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, 08:49 |
The patch to patch interpolati
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
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, 18: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: 17 |
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, 07:52 |
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 |
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 |
|
|
|
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 |