|
[Sponsors] |
January 14, 2021, 06:06 |
Solving fvSymmTensorMatrix with 5 components
|
#1 |
Member
Join Date: Feb 2020
Posts: 90
Rep Power: 6 |
Hello to all,
I am new to OpenFoam programming and would like to know if the following is possible: I am trying to solve an equation with a symmetric tensor where the `A22` component can be written as: `1 - A00 - A11`. I would like to know if it possible to define this relationship in matrix assembly or during the solve statement. Example: Code:
fvSymmTensorMatrix myEqn ( fvm::ddt(tau_) + fvm::div(phi, tau_) ); myEqn.solve(); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
laplacianFoam with source term | Herwig | OpenFOAM Running, Solving & CFD | 17 | November 19, 2019 14:47 |
HeatSource BC to the whole region in chtMultiRegionHeater | xsa | OpenFOAM Running, Solving & CFD | 3 | November 7, 2016 06:07 |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 19:17 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 09:35 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |