CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Adding a new precalculated field to kinematicParcelFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 10, 2014, 09:44
Arrow Adding a new precalculated field to kinematicParcelFoam
Sören Sander
Join Date: Sep 2012
Location: Germany
Posts: 34
Rep Power: 5
Sören Sander is on a distinguished road
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

template <class ParcelType>
inline const Foam::vector& Foam::KinematicParcel<ParcelType>::Uc() const
    return Uc_;
I could not figure out, where Uc is linked to the existing file in the time-folder of the case. I need some additional precalculated fields for my new force. Any hinds on how to implement this into icoUn~foam?
Sören Sander is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting an external B0_x field in MHD module fferroni FLUENT 6 July 13, 2015 05:29
chtMultiRegionSimpleFoam: strange error samiam1000 OpenFOAM Running, Solving & CFD 25 August 29, 2014 17:28
Adding Temperature field to IcoFoam yapalparvi OpenFOAM Running, Solving & CFD 13 January 18, 2014 09:25
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 20:18

All times are GMT -4. The time now is 16:23.