|
[Sponsors] |
How to delete faces in faceZone and update mesh during runtime? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 15, 2017, 19:08 |
How to delete faces in faceZone and update mesh during runtime?
|
#1 | ||
New Member
Nuttita Pophet
Join Date: Oct 2016
Location: Mississippi, USA
Posts: 10
Rep Power: 10 |
Hello,
I'm trying to simulate a dam break flow with lifting gate using interFoam. The gate is lifted with a velocity 6 m/s. At the beginning, I created the gate as a thin wall using "topoSet" and then "createBaffle". After using "blockMesh", I obtained a "faceZones" file: Quote:
Code:
while (runTime.run()) { label zID = mesh.faceZones().findZoneID("baffleFaces"); faceZone& facesZone = mesh.faceZones()[zID]; forAll(facesZone,II) { Info << "\n faceZoneID :::::::::::: " << facesZone[II] << endl; Info << "\n faceZoneGeo :: " << Cf[II][0] << " " << Cf[II][1] << " " << Cf[II][2] << endl; } Quote:
Thank you. |
|||
|
|