CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

why UEqn.A() return a scalarfield not a vecltor field>

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2021, 04:06
Default why UEqn.A() return a scalarfield not a vecltor field>
  #1
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 427
Rep Power: 19
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
Dear friends:
In the momentum euqation, UEqn is a vector matrix , but why UEqn.A() return a volscalarField?
regards
ztdep is offline   Reply With Quote

Old   June 11, 2021, 10:10
Default Few references
  #2
Member
 
Rahul Vadrabade
Join Date: Apr 2018
Posts: 46
Rep Power: 8
Rvadrabade is on a distinguished road
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
Rvadrabade is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 07:46
Warning:no return statement in function returning non-void [-Wreturn-type] 3014214149 OpenFOAM Programming & Development 1 January 19, 2021 11:40
Creating a new field from terms of the turbulence model HaZe OpenFOAM Programming & Development 15 November 24, 2014 13:51
Compiled custom wall function unknown by solver juhuettn OpenFOAM Programming & Development 22 October 22, 2014 09:56
Missing math.h header Travis FLUENT 4 January 15, 2009 11:48


All times are GMT -4. The time now is 03:16.