CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Adding a new precalculated field to kinematicParcelFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2014, 10:44
Arrow Adding a new precalculated field to kinematicParcelFoam
  #1
Member
 
Sören Sander
Join Date: Sep 2012
Location: Germany
Posts: 43
Rep Power: 14
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

Code:
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

Reply


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 Off
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 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


All times are GMT -4. The time now is 06:36.