|
[Sponsors] |
why UEqn.A() return a scalarfield not a vecltor field> |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 11, 2021, 05:06 |
why UEqn.A() return a scalarfield not a vecltor field>
|
#1 |
Senior Member
|
Dear friends:
In the momentum euqation, UEqn is a vector matrix , but why UEqn.A() return a volscalarField? regards |
|
June 11, 2021, 11:10 |
Few references
|
#2 |
Member
Rahul Vadrabade
Join Date: Apr 2018
Posts: 46
Rep Power: 8 |
Hi,
If not already check out following reference link. fvScalarMatrix:- https://zhuanlan.zhihu.com/p/32940120 fvVectorMatrix:- https://zhuanlan.zhihu.com/p/32679170 In short, fvVectorMatrix is of form AX=B where A is n X n, X is n X 3 and B is n X 3. Also, there are internalCoeffs added to A and boundaryCoeffs are added to B at the time of solving matrix. It is tricky implementation, try to construct sample matrix on paper will give better and quicker idea. Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
No matching function error: Phase change source term added to interMixingFoam | wavefunction | OpenFOAM Programming & Development | 2 | February 4, 2022 08:46 |
Warning:no return statement in function returning non-void [-Wreturn-type] | 3014214149 | OpenFOAM Programming & Development | 1 | January 19, 2021 12:40 |
Creating a new field from terms of the turbulence model | HaZe | OpenFOAM Programming & Development | 15 | November 24, 2014 14:51 |
Compiled custom wall function unknown by solver | juhuettn | OpenFOAM Programming & Development | 22 | October 22, 2014 10:56 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |