|
[Sponsors] |
Retrieve Advection-Diffusion Components Individually |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 27, 2022, 12:42 |
Retrieve Advection-Diffusion Components Individually
|
#1 |
New Member
Luiz Oliveira
Join Date: Aug 2018
Location: Napoli, Italy
Posts: 24
Rep Power: 7 |
Hello,
I am trying to calculate both the advection and the diffusion fluxes separately. I have the scalar field calculated for all times of my simulation, although, it appears that the equation is calculated all at once (advective and diffusive contributions) what makes it impossible to retrieve the individual contributions (assuming this file https://www.openfoam.com/documentati...8C_source.html), is this correct? Would it be necessary to write a solver for the transport equation and calculate each term individually? In summary, I would like to retrieve the following components, store it in a 2D vector and write it in every timestep. Code:
ADE.components(vector::X) = fvm::div(phi, T) // Advection ADE.components(vector::Y) = fvm::laplacian(DT, T) // Diffusion
__________________
Luiz Oliveira PhD. Student in Environmental Fluid Dynamics University of Napoli: Federico II |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why numerical diffusion is related to the advection term | Houthuys | Main CFD Forum | 6 | January 28, 2017 22:01 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Use advection step and Dispersion step to solve advection diffusion equation | cooljd | Main CFD Forum | 0 | October 15, 2012 15:44 |
Model crashes while solving advection diffusion equation | cooljd | Main CFD Forum | 3 | August 23, 2012 10:40 |
How to stop diffusion and advection in a zone for selected species. | hda | FLUENT | 0 | March 18, 2012 23:59 |