|
[Sponsors] |
December 4, 2009, 16:05 |
|
#21 | |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
Hello,
Martin Quote:
|
||
December 8, 2009, 06:27 |
|
#22 |
Member
Join Date: Sep 2009
Posts: 45
Rep Power: 17 |
Hello,
I'm struggling with directMapped. Below are my 0/U and changeDictionary files: ************************************* INLET { type directMappedFixedValue; value uniform (1 0 0); setAverage true; average (1 0 0); } ************************************* ************************************* dictionaryReplacement { boundary { INLET { type directMappedPatch; offset (0.76 0 0); sampleRegion region0; sampleMode nearestCell; samplePatch none; } } } ************************************* Then when I run pisoFoam, I've got this message error: ************************************* Time = 0.0005 Courant Number mean: 0 max: 0.0202144 gradientInternalCoeffs cannot be called for a genericFvPatchField (actual type directMappedFixedValue) on patch INLET of field U in file "/nbu/eee/soulierr/OpenFOAM/fineTrainLESCyclicDirectMapped/0/U" You are probably trying to solve for a field with a generic boundary condition. From function genericFvPatchField<Type>::gradientInternalCoeffs( ) const in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at line 782. FOAM exiting ************************************** I do not know how to sort this issue out ...I had a look at the source code mentionned above but It didn't help me. I hope someone will be able to help me dealing with. Thank you in advance. |
|
December 8, 2009, 07:21 |
|
#23 | |
Member
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17 |
Hello Mauscher,
From the message that you get from the GGI weighting factors, it looks as you have 5088 faces uncovered on your GGI. If you look at the number of cells that you have in your interface, which seems to be 10176, it seems that half your GGI interface is not covered. I believe that is why you have a problem with your GGI interface. Have look at it, something is not right there. Olivier Quote:
|
||
December 8, 2009, 18:43 |
|
#24 |
New Member
Join Date: Apr 2009
Location: Finspĺng, Sweden
Posts: 4
Rep Power: 17 |
Hi,
thanks for your help oliver, but I already noticed that. The problem is, if I run the simulation on just one processor all faces are uncovered. If I decompose the case for two processors, as it is mentioned here, one half of the face is uncovered. Thats quite strang. Right now, I try to run the extionsions from sf and hope that the problem will be solved. \\mauscher |
|
January 4, 2010, 20:03 |
|
#25 | |
New Member
Kyungrock Kim
Join Date: Jun 2009
Posts: 20
Rep Power: 17 |
Hi Airs
You need to set type, 'directMapped' instead of directMappedFixedValue. "directMappedFixedValue" is not correct type following error message. Hope It be helpful for you kkr Quote:
|
||
January 5, 2010, 07:14 |
|
#26 |
Member
Join Date: Sep 2009
Posts: 45
Rep Power: 17 |
Thanks Kr_kim,
I changed it like you said. But I had the previous error which deals with an ordering problem . Thanks though. |
|
January 23, 2012, 07:13 |
GGi
|
#27 |
Member
Aqua
Join Date: Oct 2011
Posts: 96
Rep Power: 15 |
Hello Martin,
I am trying to perform a simulation about two cars passing by each other. Please find attached picture about the mesh. so there are two cubes standing for two cars. iblock and oblock, containing the two cars(cubes), will move towards each other. So, interfaces between iblock and oblock is defined as ggi. I used the tutorial turboPassengeRotating. the boundary file is like this: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 14 ( imaxz { type patch; nFaces 400; startFace 1464469; } iminz { type patch; nFaces 400; startFace 1464869; } iminy { type patch; nFaces 400; startFace 1465269; } imaxy { type patch; nFaces 400; startFace 1465669; } interfacei { type ggi; nFaces 400; startFace 1466069; rotationAxis (0 0 1); bridgeOverlap true; // nCopies 12; shadowPatch interfaceo; zone interfacei_faces; } imaxx { type patch; nFaces 400; startFace 1466469; } icube_ICUBE { type wall; nFaces 72018; startFace 1466869; } ominy { type patch; nFaces 703; startFace 1538887; } omaxy { type patch; nFaces 400; startFace 1539590; } ominz { type patch; nFaces 400; startFace 1539990; } omaxz { type patch; nFaces 400; startFace 1540390; } interfaceo { type ggi; nFaces 400; startFace 1540790; rotationAxis (0 0 1); bridgeOverlap true; // nCopies 12; shadowPatch interfacei; zone interfaceo_faces; } omaxx { type patch; nFaces 400; startFace 1541190; } ocube_ocube { type wall; nFaces 58255; startFace 1541590; } ) two blocks with two cubes1.JPG I run " setSet -batch setBatch regionCellSets setsToZones -noFlipMap" there is no error. then i run decomposePar, OF didn't abort, but there is some information like “uncovered faces found”. then i run icoDyMFoam, on Friday, until today(Monday), obviously there are some time steps file created (please see another picture in attachment, and OF is still running). but when i run paraFoam, there is the error: Cannot find 'value' entry on patch interfacei of field p in file "/bb/civ/liuyu/OpenFOAM/liuyu-1.6-ext/run/Ggicase1/0/p" which is required to set the values of the generic patch field. (Actual type ggi) Please add the 'value' entry to the write function of the user-defined boundary-condition file: /bb/civ/liuyu/OpenFOAM/liuyu-1.6-ext/run/Ggicase1/0/p::boundaryField::interfacei from line 66 to line 66. From function genericFvPatchField<Type>::genericFvPatchField(con st fvPatch&, const Field<Type>&, const dictionary&) in file genericFvPatchField/genericFvPatchField.C at line 71. FOAM exiting could you please, help me on this? Thank you so much!!!!! |
|
January 23, 2012, 08:15 |
|
#28 |
Member
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17 |
Hi aqua,
What version of OpenFOAM are you using when you open paraFoam? To me it seems that you are using a none-extended version, which is why it is unable to recognize the patch name. |
|
January 23, 2012, 10:31 |
|
#29 | |
Member
Aqua
Join Date: Oct 2011
Posts: 96
Rep Power: 15 |
Quote:
Thank you so much for your reply! I do use OF1.6ext... Please help me out.. Aqua |
||
January 30, 2012, 07:34 |
|
#30 | |
Member
Aqua
Join Date: Oct 2011
Posts: 96
Rep Power: 15 |
Quote:
Did you figure out how to tell cyclic to rotate or translate? Could you please share the method? Thank you so much! |
||
April 21, 2013, 11:26 |
|
#31 |
New Member
Esmaeil Ahmadiyan
Join Date: Sep 2011
Posts: 26
Rep Power: 15 |
Hi dear friends
I am using of openFoam2.0.1 My geometry and createPatchDict file are as below: createPatchDict.zip When running the case this error reported: This probably means your geometry is not consistent with the specified separation and might lead to problems. Continuing with specified separation vector (0.0002 0 0.0002) patchutlet1 neighbour:inlet1 --> FOAM Warning : From function cyclicPolyPatch::calcTransforms() in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 368 In your mind are there any incorrect setting in createPatchDict file proportional to geometry? What are separationVector and rotationAxis and rotationCentre ? please demonstrate for me. In fact I do not know how I should adjust this parameters in createPatchDict file proportional to my geometry. All my case is as below cyclic.zip Thanks
__________________
Best regards e.ahmadiyan |
|
May 3, 2013, 03:22 |
|
#32 |
New Member
Esmaeil Ahmadiyan
Join Date: Sep 2011
Posts: 26
Rep Power: 15 |
Hi dear foamers
I am working with OF2.0.1 .My geometry and createPatchDict file are as below: createPatchDict.zip When running the case this error reported: This probably means your geometry is not consistent with the specified separation and might lead to problems. Continuing with specified separation vector (0.0002 0 0.0002) patchutlet1 neighbour:inlet1 --> FOAM Warning : From function cyclicPolyPatch::calcTransforms() in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 368 In your mind are there any incorrect setting in createPatchDict file proportional to geometry? What are separationVector and rotationAxis and rotationCentre ? please demonstrate for me. In fact I do not know how I should adjust this parameters in createPatchDict file proportional to my geometry. All my case is as below cyclic.zip Please help me Thanks
__________________
Best regards e.ahmadiyan |
|
May 3, 2013, 03:25 |
|
#33 |
New Member
Esmaeil Ahmadiyan
Join Date: Sep 2011
Posts: 26
Rep Power: 15 |
Hi dear foamers
Please help me Thanks
__________________
Best regards e.ahmadiyan |
|
May 3, 2013, 03:45 |
|
#34 |
New Member
Esmaeil Ahmadiyan
Join Date: Sep 2011
Posts: 26
Rep Power: 15 |
11111111111111111111111111111111111111111111111111 1111111111111
__________________
Best regards e.ahmadiyan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MRFSimpleFoam amp cyclic patches | david | OpenFOAM Running, Solving & CFD | 36 | October 21, 2008 22:55 |
[Gmsh] How to define these patches | zhoubinwx | OpenFOAM Meshing & Mesh Conversion | 6 | September 15, 2008 09:52 |
[Technical] Application of cyclic patches | klaus | OpenFOAM Meshing & Mesh Conversion | 9 | January 18, 2008 05:28 |
Cyclic boundary conditions for non conformed Patches | turnow | OpenFOAM Running, Solving & CFD | 1 | October 19, 2007 02:17 |
rediation patches | novice | Siemens | 2 | February 25, 2004 04:53 |