|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 145
Rep Power: 6 ![]() |
Offline a questioned was asked about the cyclic boundary condition type in Pointwise for the OpenFOAM export format.
I am told the standard OpenFOAM cyclic boundary condition requires the order of cells in a patch to match the ordering in the opposing patche. Currently Pointwise does not have cyclic/periodic functionality - meaning even though your opposing patches are identical visually (geoemetrically, # points and distribution) there is no guarantee the cell orderings are matched. As such, exporting a grid from Pointwise to OpenFOAM with a cyclic boundary will most likely result in an error when running the mesh in OpenFOAM. This deficiency is being addressed in two ways: A. True cyclic/periodicity is scheduled to be implemented in the next version of Pointwise. When this happens the OpenFOAM export in Pointwise will be able to handle cyclic BCs correctly. B. The General Grid Interface (GGI) that is currently in active development among some OpenFOAM'ers does not require matching face ordering for the opposing patches. Check with the GGI developers for the status on that functionality. I will update this thread when periodicity is implemented in Pointwise. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 9 ![]() |
Hello Chris,
has this lack been fixed in Pointwise? Can I create geometrically equal faces (domains) in Pointwise and export them in OpenFOAM? If the problem is still open, could I used the Fluent format to export and than fluentMeshToFoam? In any case... how can I create geometrically equal domains in Pointwise? Thank you, Maddalena |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 9 ![]() |
Ok, I succeeded in creating geometrically equal faces (domains) in Pointwise and defining them as cyclic. However, when I run checkMesh (note, checkMesh and not createPatch, as a consequence that I have already defined the faces as cyclic in Pointwise), I had the following error:
Create polyMesh for time = 0 cyclicPolyPatch::calcTransforms : Writing half0 faces to OBJ file blablabla.obj cyclicPolyPatch::calcTransforms : Writing half1 faces to OBJ file blablabla.obj cyclicPolyPatch::calcTransforms : Writing coupled face centres as lines to blablabla.obj face 38 area does not match neighbour 8138 by 0.101242% -- possible face ordering problem. patch:cyclicSides my area:2.67 neighbour area:2.6727 matching tolerance:0.001 Mesh face:8797132 vertices:3((2.74863 39.0073 215.981) (1.96174 38.9641 214.09) (-2.27374e-13 39.0114 216.158)) Neighbour face:8805232 vertices:3((3.15983e-13 -39.0114 216.158) (1.96174 -38.9639 214.081) (2.74863 -39.0071 215.972)) Rerun with cyclic debug flag set for more information. From function cyclicPolyPatch::calcTransforms() in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 180. FOAM exiting I know from other threads that this error may be due to the tolerance that is too high for the case. Indeed, the two faces do not meet the matching tolerance criteria, although their geometry is imported correctly, I can see it using objToVtk + paraFoam. However, changing the matching tolerance value in coupledPolyPatch.C did not help to solve the issue: the matching tolerance is still 0.001, even after wclean wmake! ![]() Moreover, I am not able to run the case with cyclic debug flag on: changing the OpenFOAM/OpenFOAM-1.6/etc/controlDict did not produce any results! ![]() Is this a bug or am I missing something? Thanks a lot to everyone that can shed some light! maddalena |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 9 ![]() |
Ok ok... The two faces were not equals... Now it works perfectly!
And thanks to hrv, the pointwise -> OF conversion is simply great!
|
|
|
|
|
|
|
|
|
#5 |
|
Member
Rick Matus
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 57
Rep Power: 6 ![]() |
The just released version of Pointwise (V16.03) includes true cyclic/periodic boundaries. Look under Create->Periodic->Translate/Rotate.
If you are already using Pointwise V16.02 you can download V16.03 from the Pointwise website. |
|
|
|
|
|
|
|
|
#6 | |
|
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 9 ![]() |
Quote:
I was wondering if it is possible to define the order of cyclic in Pointwise, i.e. define the master and the slave face. As I showed here, this is important for some OF applications. Regards maddalena |
||
|
|
|
||
|
|
|
#7 |
|
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 9 ![]() |
I believe I have the answer...
The patch order (master-slave) is set by the surface domain number, which is a consequence on the domain creation. For example let us say I have the following domain: domain-1 domain-2 domain-3 domain-6 domain-7 and I want to make domain-6 cyclic. First I use create->periodic with domain-6. A new domain is created: domain-4 (the first empty name on my domain list). As a consequence, domain-4 will be the master and domain-6 the slave. In any case, it will be better if the master slave can be set manually. mad |
|
|
|
|
|
|
|
|
#8 |
|
Member
Rick Matus
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 57
Rep Power: 6 ![]() |
Hi Mad:
Sorry I missed your earlier post. It looks like you found the answer on your own though. There is no concept of master and slave periodic boundaries in Pointwise. They are twins. You can change either one, and its twin will be updated. I will add your request for explicit definition of master-slave cyclic boundaries for OpenFOAM export to our feature request database. Rick |
|
|
|
|
|
|
|
|
#9 | |
|
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 9 ![]() |
Quote:
![]() One more question: where should I write for any related feature request connected with Pointwise? Of course, I will never ask: please made the mesh for me, but, well, I will be glad to help to improve the Pointwise-OF export as the software itself, suggesting something as I have just made. Is this forum ok or is there a more appropriate place? Regards mad |
||
|
|
|
||
|
|
|
#10 |
|
Member
Rick Matus
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 57
Rep Power: 6 ![]() |
You are entitled to free technical support through email, telephone, and website. Your quickest and easiest way to get support would be through Alberto at Porto Ricerca, alberto@portoricerca.com, 039-466-9380.
You can also contact us directly in the US at support@pointwise.com, +1 817-377-2807. Of course, we will answer questions in the forums too, but we do not always have time to check here:-) Rick |
|
|
|
|
|
|
|
|
#11 |
|
Member
Rick Matus
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 57
Rep Power: 6 ![]() |
I forgot to mention that technical support includes taking your suggestions for adding features or other improvements to our software, so please make suggestions!
|
|
|
|
|
|
|
|
|
#12 | |
|
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 9 ![]() |
Quote:
![]() Let us say that I will write to Alberto for any kind of support, and of course post here if I found something that can be useful to other Foamers. Thanks mad |
||
|
|
|
||
|
|
|
#13 |
|
Member
pooyan
Join Date: Nov 2011
Posts: 56
Rep Power: 3 ![]() |
Dear Maddalana
I have the issue of defining cyclic B.C in pointwise for OpenFoam solver. So, I want the inflow and outflow of my geometry to be cyclic. therefore, I specify cyclic B.C for inflow and outflow and then I import the grid in OpenFoam. However, there I receive some errors that the areas do not match. Can you please explain more about create- periodic in pointwise more at this forum so that everyone can see the solution. thanks |
|
|
|
|
|
|
|
|
#14 | |
|
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 9 ![]() |
Quote:
if you are trying to use Pointwise -> OpenFoam export for OF 2.0 or following, this will not work. Export works up to previous versions. For the newest versions, you should define your boundary as patch, export the grid, and create cyclic using createPatch utility. Enjoy mad |
||
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cyclic boundaries | gosia stein | CD-adapco | 5 | June 13, 2007 07:39 |
| cyclic boundary | sijin james | CD-adapco | 3 | May 15, 2007 12:07 |
| Help!cyclic boundary | Bard | CD-adapco | 0 | December 16, 2006 06:41 |
| Cyclic Boundary | furkan | CD-adapco | 1 | November 28, 2005 09:12 |
| Cyclic or Symplane? | Julie Polyakh | CD-adapco | 2 | December 12, 2001 04:27 |