|
[Sponsors] |
Changing volScalar field using different dictionaries at different time |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2020, 17:59 |
Changing volScalar field using different dictionaries at different time
|
#1 |
New Member
Sagar Pokharel
Join Date: Feb 2018
Posts: 1
Rep Power: 0 |
Hello,
I have somehow interpolated, say 8 datasets (calculated outside openfoam) for the same field at different times on openfoam mesh. So I have the information regarding the values of the scalar at the cell centers. I want to make a dict file with all 8 interpolation datasets. And depending on the runtime ( take profile1 for first 10s, and then profile2 for next 10s .. ), I want to pick which dataset to use to create the volScalarfield. But I only use this filed in equation and not solve for this filed inside openfoam. Since I run the interpolation at the start, the dict file and the volscalarfield will both be in the constant directory. The dictionary file would look like this. Code:
profile1 List<scalar> ( 1 2 ); profile2 List<scalar> ( 2 3 ); otherprofiles .... Thanks in advance. |
|
Tags |
constant fluid properties, runtime selection, volscalarfield |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swakExpression not writing to log | alexfells | OpenFOAM Community Contributions | 3 | March 16, 2020 19:19 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
[PyFoam] having problems with pyfoam Installation | vitorspadetoventurin | OpenFOAM Community Contributions | 3 | December 2, 2014 08:18 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |