|February 15, 2012, 07:07||
Solving euler eq on unstructured grid: how do i transform the flux back...?
Join Date: Feb 2012
Posts: 1Rep Power: 0
i am quite new, sorry if the title of my question is a little clumsy.
(if you give a better one i will correct it)
My problem looks simple, and i have already a working c++ program.
But there is just one thing that i cannot accept.
So there is the Euler eq.
We are on an unstructured grid. (Triangles.)
We solve it with the first order Euler method.
Therefore I need the divergence of the flux.
I transform my speed vector from my global coordinate system to the local coordinate system of one of the face of the given triangle.
What is the flux at the face?
I average the flux of the flux of neighboring triangles.
Then i take the normal component of the flux. (normal to the face)
And here is my question:
Do i have to transform the flux to sum it up over the 3 faces of the given triangle? How?
(Now i have a working code which only transform rhou end rhov back.)
(2 dimensional problem)
|euler, flux, unstructured grid|
|Thread||Thread Starter||Forum||Replies||Last Post|
|High Courant Number @ icoFoam||Artex85||OpenFOAM Running, Solving & CFD||11||February 16, 2017 14:40|
|Multiple floating objects||CKH||OpenFOAM Running, Solving & CFD||12||March 21, 2016 14:05|
|Velocity blows up suddenly after 30,000+ iterations||lordvon||OpenFOAM Running, Solving & CFD||15||October 19, 2015 13:52|
|Error log||vw.cfd||OpenFOAM||6||August 7, 2009 05:44|
|Parallel rasInterFoam||openfoam_user||OpenFOAM Running, Solving & CFD||4||November 1, 2008 05:14|