|
[Sponsors] |
November 1, 2015, 06:30 |
funkySetFields average function
|
#1 |
New Member
Join Date: Nov 2015
Posts: 1
Rep Power: 0 |
Hi everyone,
i'm new to OpenFOAM. I would like to use funkySetFields in order to calculate the average value of a field (e.g. T) in a certain part of the domain and then to set an initial condition based on the calculated value. I tried to use the function "average", but it seems to work only with the entire domain. I tried also to use splitMeshRegions and funky seemed to work properly, but the solver that i am using (rhoPimpleFoam) doesn't seem to read the different regions of the domain, and it uses for the calculation the old values. Do you have any suggestions? Thanks in advance |
|
Tags |
average, funkysetfields |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 08:15 |
[swak4Foam] what does this swak function of average on average mean? | immortality | OpenFOAM Community Contributions | 5 | April 25, 2019 10:32 |
[swak4Foam] installation problem with version 0.2.3 | Claudio87 | OpenFOAM Community Contributions | 9 | May 8, 2013 11:20 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |