CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

problem in applying periodic boundary condition

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By adambarfi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2012, 05:31
Default problem in applying periodic boundary condition
  #1
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Hi everybody,

I've created my 2D mesh with Gambit and select two boundary as periodic BC. Then I converted it with fluentMeshToFoam. my periodic BC name was 'periodic' and actually it contains two edges of my model. I used foamUpgradeCyclics and my bc splited to two BCs:

Code:
periodic_half0
{
    type            cyclic;
    nFaces          93;
    startFace       50116;
    neighbourPatch  periodic_half1;
}

periodic_half1
{
    type            cyclic;
    nFaces          93;
    startFace       50209;
    neighbourPatch  periodic_half0;
}
then I modified the files in 0 case.

but when I ran paraFoam and want to see my meshes the below error appeared:

Code:
--> FOAM FATAL ERROR: 
More than six unsigned transforms detected:
6(((4.8172043e-05 0.00028 0) (1 0 0 0 1 0 0 0 1) 0) ((5.41935484e-05 0.00028 0) (1 0 0 0 1 0 0 0 1) 0) ((6.02150538e-05 0.00028 3.32344303223e-24) (1 0 0 0 1 0 0 0 1) 0) ((6.62365592e-05 0.00028 0) (1 0 0 0 1 0 0 0 1) 0) ((7.225806455e-05 0.00028 9.50757114744e-24) (1 0 0 0 1 0 0 0 1) 0) ((7.827956985e-05 0.00028 -1.28310141797e-23) (1 0 0 0 1 0 0 0 1) 0))

    From function void Foam::globalIndexAndTransform::determineTransforms()
    in file primitives/globalIndexAndTransform/globalIndexAndTransform.C at line 185.

FOAM exiting
is here anybody here could help me?

thank you
adambarfi is offline   Reply With Quote

Old   December 6, 2012, 11:13
Default
  #2
Member
 
Aathavan
Join Date: Nov 2012
Posts: 70
Rep Power: 13
Aadhavan is on a distinguished road
Hi,
have you defined periodic condition in gambit, before generating mesh?

I couldn’t remember exactly, but I think I have solved this problem changing the face ordering.


Thanks,
Aadhavan
Aadhavan is offline   Reply With Quote

Old   December 6, 2012, 12:31
Default
  #3
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by Aadhavan View Post
Hi,
have you defined periodic condition in gambit, before generating mesh?

I couldn’t remember exactly, but I think I have solved this problem changing the face ordering.


Thanks,
Aadhavan
thank you Aadhavan,
yes, I defined it in Gambit. I had solved my problem with Fluent before and now I'm trying to solve it with OpenFOAM.
what is your exact meaning of 'changing the face ordering'?
adambarfi is offline   Reply With Quote

Old   December 7, 2012, 05:40
Default
  #4
Member
 
Aathavan
Join Date: Nov 2012
Posts: 70
Rep Power: 13
Aadhavan is on a distinguished road
Hi,
I found it in another thread, the message is:
" The problem were unordered cyclic patches. That sometimes happens, when you create these patches directly in the blockmeshdict.
Instead you could try to build the mesh with normal patches (type patch). Afterwards you can use createPatch together with a createpatchdict to replace the patch types with cyclic patches and couple the cells correctly"

I meant face ordering is " right face is sharing the information to left face"

Thanks,
Aadhavan
Aadhavan is offline   Reply With Quote

Old   December 7, 2012, 05:43
Default
  #5
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
thank you Aadhavan,
I found it,too. I will test it and if I have any problem, I will be here again
adambarfi is offline   Reply With Quote

Old   December 7, 2012, 06:49
Default
  #6
Member
 
Aathavan
Join Date: Nov 2012
Posts: 70
Rep Power: 13
Aadhavan is on a distinguished road
Hi Adambarfi,
have you got success in your problem, if so please post the solution here.


Thanks,
Aadhavan
Aadhavan is offline   Reply With Quote

Old   August 4, 2014, 12:39
Default
  #7
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
dear Aadhavan,

I know It's too late to post the solution I found for this problem, because I find it today for another project. but i think it's worthy to post the solution here so that other people can solve this problem.

I used createPatch utility to correct the order of points on cyclic patches and couple the cells correctly.

you can get the createPatchDict from here.

hope this help.

Regards,
Mostafa
mgg likes this.
adambarfi is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
strange flow of pressure boundary adjacent periodic condition oilsok FLUENT 2 May 26, 2012 12:51
Periodic Boundary Condition for upwind difference yohey44 Main CFD Forum 0 October 27, 2010 13:10
(Heattransfer) Temperature boundary condition problem suitup OpenFOAM Bugs 15 October 14, 2010 22:18
Transient outlet boundary condition problem jwillie2000 CFX 1 December 7, 2009 17:07
a problem with Boundary condition M Rad Main CFD Forum 12 November 27, 1998 12:49


All times are GMT -4. The time now is 06:26.