src/alge/vistnv.f90 File Reference

| programmer's documentation

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions/Subroutines
vistnv.f90 File Reference

This function computes the equivalent tensor viscosity at faces for a 3x3 symetric tensor. More...

## Functions/Subroutines
subroutine | vistnv (imvisf, w1, viscf, viscb)
subroutine | symmetric_matrix_inverse (sout, s)

## Detailed Description

This function computes the equivalent tensor viscosity at faces for a 3x3 symetric tensor.

## Function/Subroutine Documentation

subroutine symmetric_matrix_inverse | ( | double precision, dimension(6) | sout,
|  | double precision, dimension(6) | s
| ) |  |

Parameters

  [out] | sout | sout = s1 * s2
  [in] | s | symmetric matrix

subroutine vistnv | ( | integer | imvisf,
|  | double precision, dimension(6, ncelet), target | w1,
|  | double precision, dimension(3,3,nfac) | viscf,
|  | double precision, dimension(nfabor) | viscb
| ) |  |

Parameters

  [in] | imvisf | method to compute the viscosity at faces: 0: arithmetic 1: harmonic
  [in] | w1 | cell viscosity symmetric tensor
  [out] | viscf | inner face tensor viscosity (times surface divided distance)
  [out] | viscb | inner face viscosity (surface, must be consistent with flux BCs)