|
[Sponsors] |
Modify Particle Velocity in Lagrangian Solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 23, 2018, 18:38 |
Modify Particle Velocity in Lagrangian Solver
|
#1 |
New Member
Join Date: Jun 2018
Posts: 3
Rep Power: 8 |
Hello,
I am using MPPICFoam, and I have added a new force submodel to the solver. I want to modify the parcel velocity from within the newly added submodel, but it seems that I can only access it due to this "const" declaration. See bolded "const" declaration in code snippet below. Code:
template<class CloudType> Foam::forceSuSp Foam::PlessisMasliyahDragForce<CloudType>::calcCoupled ( const typename CloudType::parcelType& p, const scalar dt, const scalar mass, const scalar Re, const scalar muc ) const Thank you for any help! Austin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dispersion model with lagragian particle tracking model for incompressible flows | eelcovv | OpenFOAM Running, Solving & CFD | 54 | April 10, 2018 10:36 |
Particle tracking error | alchem | OpenFOAM Bugs | 5 | May 6, 2017 17:30 |
VELOCITY vs VELOCITY IN STN FRAME vs RELATIVE VELOCITY | everest20 | FLUENT | 1 | July 13, 2015 09:35 |
Calculating lagrangian particle velocity at a particular cellZone | kalyan | OpenFOAM Running, Solving & CFD | 0 | September 30, 2014 06:54 |
Check particle impaction with User Fortran | Julian K. | CFX | 3 | January 12, 2012 10:46 |