How can I define the cell centers without using writeCellCenters?
Hello,
I want to define the cell centers so I have the coordinates for my Velocity U and my pressure p without using the command writeCellCenters. I have a mesh that do not move. Can somebody help me and know a method to avoid that the coordinates are written in every time directory? Thank you in advance. |
Hi
You can typically write Code:
writeCellCentres -help Code:
writeCellCentres -latestTime Best regards Niels |
Hi Niels,
thank you very much :-)! It's quite simple :P. Have a nice weekend. Best regards, Kris |
Hi, my question is pretty much related to this thread =)
is it possible to get cell centers only for a cellSet? Not for every cell in my mesh? |
I have some trouble with this utility.
I used it on the channel395 tutorial case and grid points don't make any sense: Y is defined from 0 to 2 in blockMeshDict, but values for both block start from zero to 1. Also the second block is upside down. There is only 15 unique Z values while there should be 30. Also there is no block in the Z direction so one doesn't expects any irregularity in that direction. I don't expect the values be ordered (since the grid is stored in an unstructured manner), but I would expect the grids to have correct physical positions. Does anyone knows how to achieve this? |
All times are GMT -4. The time now is 07:33. |