Calculating surface integral on Cartesian grid

I am trying to calculate surface integral for the following problem (see figure). I have the vertex coordinates x,y,z as well as face center coordinates xm,ym,zm. If I have all the interpolated values that are needed for this calculation, then how should I approximate the surface integral for the angled surface shown above (v is velocity vector and u, v, w values are saved in xm,ym,zm coordinates)? Could you kindly describe a little? Another question, which interpolation scheme would be best for this kind of problem? If my question is not clear please let me know.

댓글 수: 2

Is that integral:
or
it will make a bit of a difference...
Arian
Arian 2020년 11월 13일
It is the second one
Thanks a lot

댓글을 달려면 로그인하십시오.

답변 (1개)

Bjorn Gustavsson
Bjorn Gustavsson 2020년 11월 16일

0 개 추천

For the sake of simplicity I'd just calculate the area of the grid-cells, multiply the velocity-vectors with those areas and add the products together. That should give you some area-averaged velocity.
HTH

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

제품

릴리스

R2017b

질문:

2020년 11월 13일

댓글:

2020년 11월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by