|September 20, 2011, 15:48||
Create Matrix for pressure correction
Join Date: Dec 2009
Posts: 13Rep Power: 7
i try to create a Matrix UEqn for the correction Loop.
The Equatin is:
U and k are vectors and T and Ra are scalars.
Is there a way to create a Matrix like
but this doesnt work
Thanks for Help!
|November 7, 2011, 00:59||
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 121Rep Power: 12
You need to use fvm::Sp(U) (or fvm::S for the linear source term, so something like:
fvm::Sp(U) - Ra*T*k
should work. Note that this is just a diagonal matrix.
|Thread||Thread Starter||Forum||Replies||Last Post|
|how to set periodic boundary conditions||Ganesh||FLUENT||13||January 22, 2014 05:11|
|Include list of points||Hikachu||OpenFOAM Native Meshers: blockMesh||0||June 20, 2011 09:03|
|Actuator disk model||audrich||FLUENT||0||September 21, 2009 07:06|
|Where's the singularity/mesh flaw?||audrich||FLUENT||3||August 4, 2009 01:07|
|fluent add additional zones for the mesh file||SSL||FLUENT||2||January 26, 2008 12:55|