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

How to obtain the inverse of a SquareMatrix?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By HPE

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2022, 05:09
Default How to obtain the inverse of a SquareMatrix?
  #1
New Member
 
Yawei Wang
Join Date: May 2022
Posts: 6
Rep Power: 3
buaad635 is on a distinguished road
Dear fomers,

I need to solve a linear equation in a codedFixedValue boundary, Ax=b, and the matrix A is a 19×19 SquareMatrix, and b is defined as a 19×1 RectangularMatrix. So I want to obtain the solution of x through x=inv(A) & b. However, i found no inv() function for SquareMatrix.

Is anyone can help?

Thanks a lot.
buaad635 is offline   Reply With Quote

Old   May 19, 2022, 16:51
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
https://www.openfoam.com/documentati...db3c7ea8b165b9
fly_light likes this.
HPE 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
Obtain boundary face values for a cell qntldoql FLUENT 0 July 16, 2021 05:43
obtain stress in rotor Pablo2120 OpenFOAM Post-Processing 0 May 20, 2020 23:01
how to obtain mass diffusion coefficient with UDF? Weiqiang Liu FLUENT 0 May 28, 2019 12:32
Difficulties running 3D inverse design optimisations dominico SU2 Shape Design 1 September 19, 2017 08:56
Inverse design with SU2 gina07 SU2 Shape Design 2 March 25, 2015 09:01


All times are GMT -4. The time now is 02:22.