|
[Sponsors] |
Adding a new precalculated field to kinematicParcelFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 10, 2014, 10:44 |
Adding a new precalculated field to kinematicParcelFoam
|
#1 |
Member
Sören Sander
Join Date: Sep 2012
Location: Germany
Posts: 43
Rep Power: 14 |
Hi everyone,
I am working on the implementation of a new force into the solver icoUncoupledKinematicParcelFoam in OF 2.1.1. I implemented a new force based on known properties of the carrier phase (e.g. the volVectorField U) and it seems to work without bigger problems. The only thing, which I could not figure out, is the implementation of additional fields of the carrier phase that a known a priori (e.g. an electric volVectorField E). I tried to follow the way the velocity field U is integrated to the solver, but all I found was Code:
template <class ParcelType> inline const Foam::vector& Foam::KinematicParcel<ParcelType>::Uc() const { return Uc_; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting an external B0_x field in MHD module | fferroni | FLUENT | 11 | August 1, 2022 09:20 |
chtMultiRegionSimpleFoam: strange error | samiam1000 | OpenFOAM Running, Solving & CFD | 26 | December 29, 2015 23:14 |
Adding Temperature field to IcoFoam | yapalparvi | OpenFOAM Programming & Development | 14 | November 19, 2015 05:57 |
How to get the velocity field from the pressure field | Hermano | Main CFD Forum | 2 | November 29, 2011 09:32 |
Adding temperature field to InterFoam | yapalparvi | OpenFOAM Running, Solving & CFD | 8 | October 14, 2009 21:18 |