|
[Sponsors] |
March 7, 2018, 09:03 |
Field operations on cell zones
|
#1 |
Senior Member
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 17 |
Hi Foamers,
Are field operations on cell zones allowed in openFOAM? I mean, if a have 2 volScalarField, namely A and B, and i create a third volScalarField C as: Code:
volScalarField C = A + B Now i want to perform the same calculation on cell zones. Something like Code:
ForAll zones C[zoneI] = A[zoneI] + B[zoneI] Thanks, Andrea |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 03:36 |
How to use "translation" in solidBodyMotionFunction in OpenFOAM | rupesh_w | OpenFOAM Running, Solving & CFD | 5 | August 16, 2016 05:27 |
Setting Initial Temperatures of Cell Zones, Help Needed | UWBCFD | FLUENT | 1 | March 3, 2016 02:25 |
"Mobile" entities: cell zones, sources, etc... | r08n | OpenFOAM Programming & Development | 0 | March 26, 2010 13:23 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |