|
[Sponsors] |
Face Flux correction in pimpleFOAM after momentum corrector |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 12, 2021, 12:13 |
Face Flux correction in pimpleFOAM after momentum corrector
|
#1 |
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 16 |
In the pEqn.H of pimpleFoam, face fluxes are corrected after the momentum correction in case of moving meshes in the lines 64ff
https://cpp.openfoam.org/v6/incompre...8H_source.html Code:
// Correct Uf if the mesh is moving fvc::correctUf(Uf, U, phi); // Make the fluxes relative to the mesh motion fvc::makeRelative(phi, U); https://cpp.openfoam.org/v6/pimpleFoam_8C_source.html Code:
mesh.update(); if (mesh.changing()) { MRF.update(); if (correctPhi) { // Calculate absolute flux // from the mapped surface velocity phi = mesh.Sf() & Uf(); #include "correctPhi.H" // Make the flux relative to the mesh motion fvc::makeRelative(phi, U); } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Elastic or Plastic Deformations in OpenFOAM | NickolasPl | OpenFOAM Pre-Processing | 36 | September 23, 2023 09:22 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
How to use "translation" in solidBodyMotionFunction in OpenFOAM | rupesh_w | OpenFOAM Running, Solving & CFD | 5 | August 16, 2016 05:27 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |
Star ccm 9.02 - unsteady flux dissipation correction | fivos | STAR-CCM+ | 4 | April 28, 2014 10:37 |