|
[Sponsors] |
Help solving "c dot inv(A)" after solving the field variable (Ax=b) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 11, 2014, 08:57 |
Help solving "c dot inv(A)" after solving the field variable (Ax=b)
|
#1 |
Member
Logan Page
Join Date: Sep 2010
Posts: 38
Rep Power: 16 |
I need help trying to solve "c dot inv(A)" after having solved for the field variable (Ax=b)
The simplyfied OpenFoam pseudo-code is: Code:
// create volScalarField's for governing equations // create volScalarField c fvMatrix Eqn ( // governing equations - discretize ); Eqn.relax(); Eqn.solve(); // Ax=b // volScalarField phi = c & inv(A); // I'm at a loss on how to compute this. A --> [m x m] lduMatrix b --> [1 x m] volScalarField --> I assume accessed with "Eqn.source();" inv(A) = inv(L) & inv(D) & inv(U) phi = c & ( inv(L) & inv(D) & inv(U) ) Any help on how to implement this in OpenFoam would be appreciated |
|
Tags |
ax=b, fvmatrix, ldumatrix, solver |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
buoyantSimpleFoam and watertank | Tobi | OpenFOAM Running, Solving & CFD | 100 | December 18, 2022 09:15 |
conjugate heat transfer in OpenFOAM | skuznet | OpenFOAM Running, Solving & CFD | 99 | March 16, 2017 06:07 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 06:24 |