CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Can cloudProperties be changed during runtime?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2023, 15:23
Default Can cloudProperties be changed during runtime?
  #1
New Member
 
Carl Kohrs
Join Date: Sep 2019
Posts: 22
Rep Power: 6
cckohrs is on a distinguished road
Simple as the title: I need to change temperature, mass flow and perhaps other properties during runtime based on an external calculation (i.e. I will not know what the properties will be at certain times before starting the simulation). I'm using OpenFOAM 10 and buoyantReactingFoam.
cckohrs is offline   Reply With Quote

Old   October 22, 2023, 14:24
Default
  #2
New Member
 
Carl Kohrs
Join Date: Sep 2019
Posts: 22
Rep Power: 6
cckohrs is on a distinguished road
As a workaround I can stop the simulation (at certain endTime) and change the T0 of each cloud. This will be slower but better than nothing and it also means I can run my external calculation loop independent of the openfoam sim, rather than in a custom openfoam library.

However now I've run into a different problem which will slow down my simulation significantly, I can't restart the simulation with clouds after I've run it in parallel, with the following error.

Code:
Size of origProcId field 0 does not match the number of particles 67
It works fine running single core.
cckohrs 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
Modifying multiphaseReactingEulerFoam - Duplicate entry in runtime selection table Andrea1984 OpenFOAM Programming & Development 6 January 19, 2024 16:54
[snappyHexMesh] stringing of feature edges Hr_kules OpenFOAM Meshing & Mesh Conversion 0 July 22, 2022 08:30
Duplicate entry alphaContactAngle in runtime selection table fvPatchField Roesch OpenFOAM Programming & Development 2 January 12, 2021 03:35
Problem in3D model processing mebinitap OpenFOAM 2 December 12, 2014 04:40
Changing viewfactor Model and use the changed my model by calling "mySolver" FabianF OpenFOAM Programming & Development 2 January 14, 2014 11:25


All times are GMT -4. The time now is 01:04.