|
[Sponsors] |
August 20, 2016, 11:16 |
topoSet Dictionary Problem
|
#1 |
Member
anonymous
Join Date: Mar 2016
Location: Canada
Posts: 93
Rep Power: 10 |
Dear Foamers,
I am trying to create a circle in the center of XY-plane using topoSetDict. But it does not grab any cell with given information in the file. Could you please find the error? The code is given below. blockMeshDict: Code:
convertToMeters 1; vertices ( (0 0 0) (1 0 0) (1 1 0) (0 1 0) (0 0 1) (1 0 1) (1 1 1) (0 1 1) ); blocks ( hex (0 1 2 3 4 5 6 7) (200 200 1) simpleGrading (1 1 1) ); Code:
FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } actions ( { name s8; type cellSet; action new; source sphereToCell; sourceInfo { centre (0.5 0.5 0); radius 0.2; } } ); Code:
Create time Create polyMesh for time = 0 Reading topoSetDict Time = 0 mesh not changed. Created cellSet s8 Applying source sphereToCell Adding cells with centre within sphere, with centre = (0.5 0.5 0) and radius = 0.2 cellSet s8 now size 0 End |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with interFoam; Wave/wiggle alpha1 behavior | JonW | OpenFOAM | 10 | February 4, 2023 07:27 |
Problem writing to dictionary | MrAndersson | OpenFOAM Programming & Development | 4 | September 12, 2017 15:46 |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |