topoSet Dictionary Problem
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; Code:
FoamFile Code:
Create time |
Any suggestion .......
|
Hello,
it looks like you have a z-resolution of a single cell. That means that the centre of your cells is located in z = 0.5 ! Right now you do not overlap the cell centre with your current topoSet sphere because you just reach z = 0.2 ! The regarding sphereToCell.H source file says that sphereToCell is .... Quote:
|
Thanks for the explanation.
So Is it possible to have only two dimensions in OpenFoam? Or how can we make two dimensional case ignoring 3rd dimension. |
To have a two-dimensional case you should use empty boundary condition in the third direction. However you cannot have more than one cell in that direction or your solution diverges.
I think setting the boundary condition to empty does not solve your problem, you gotta change centre (0.5 0.5 0); to centre (0.5 0.5 0.5); |
Thanks Mahdi, setting center at (0.5, 0.5, 0.5) solved the problem.
|
I have similar problem. I already have created mesh with SHM. Now I want to put cells in the cylinder region in one cell set.
topoSetDIct is: Code:
FoamFile Code:
Date : Sep 02 2016 |
What do you exactly mean by you "are not able to see that cellSet" ?
Your log seems to be ok. The cellSet should be located in your constant directory. If you want to postProcess the field in paraview you can use the foamToVTK utility for example. |
I am sorry. I posted half the topoSetDict. Full one is here.
Code:
FoamFile Code:
Time = 1 I am trying to generate cellZones by both the methods. 1. By SHM 2. topoSet, I am not succeeding in either. |
The problem seems solved... thanks... :):)
|
I solved the problem by creating cellZones in the SHM. Like below,
Code:
rad Another thing was that I was not able to view the cellZones in the Paraview. This is because it was my confusion that the cellzones will showup like regions in Paraview. I confirmed the cellZone creation by CheckMesh command. Thanks for the help... |
All times are GMT -4. The time now is 12:33. |