|
[Sponsors] |
September 20, 2022, 10:32 |
Looping over faceCellZone
|
#1 |
Member
Horst van Gras
Join Date: Oct 2018
Posts: 45
Rep Power: 8 |
Hi,
I defined using topoSet at faceZone. I'm developing a custom function where I want to call the faceZone and loop over the faces. Howeever when I call: Code:
Foam::faceZoneSet testFS = Foam::faceZoneSet(mesh,"test"); Code:
error: use of deleted function ‘Foam::faceSet::faceSet(const Foam::faceSet&)’ |
|
September 21, 2022, 03:30 |
|
#2 |
Member
Horst van Gras
Join Date: Oct 2018
Posts: 45
Rep Power: 8 |
Found the error. Cannot predefine the function and later calling it.
Code:
Foam::faceZoneSet testFS(mesh,"test"); |
|
Tags |
faceset, facezone, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How looping over cells works in FLUENT UDFs? | Cooper24 | Fluent UDF and Scheme Programming | 2 | August 10, 2022 06:17 |
Looping macro for DPM | hjubaer | Fluent UDF and Scheme Programming | 7 | July 8, 2019 23:18 |
Fluent UDF wrong number of cells in parallel - correct in serial | dralexpe | Fluent UDF and Scheme Programming | 7 | May 17, 2018 09:26 |
Looping over all faces within a boundary condition (turbulent inlet development) | Sevex | OpenFOAM Programming & Development | 5 | September 8, 2016 14:58 |
looping over selected / marked cells | Jonathan | Fluent UDF and Scheme Programming | 0 | November 22, 2012 05:59 |