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

Problem using AMI

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree28Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   July 21, 2013, 06:17
Default
  #161
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Reza,

Sorry about that. It's so much information I'm looking at here in the forum, that I'm failing to notice some details.

I don't have access to Pointwise, so I have to ask:
  1. How are you exporting the mesh to OpenFOAM format?
  2. Is it able to preserve cell zones?
  3. What kind of cells does the mesh have, at least in the interface between rotor and stator?
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 21, 2013, 06:33
Default
  #162
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 4
reza1980 is on a distinguished road
Brunu,
Would you please specify what you mean clearly. We have run this mesh as self-propelled case, a propeller installed on a ship with hull and rudder. It seems OK and done by my supervisor.
reza1980 is offline   Reply With Quote

Old   July 21, 2013, 06:46
Default
  #163
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Reza,

OK, I'll try to be clearer.

You have a mesh generated with Pointwise, correct? But how did you get that mesh into a format that OpenFOAM can use?

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 21, 2013, 06:51
Default
  #164
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 4
reza1980 is on a distinguished road
You can export the mesh into 3D-OPenFoam.(Please look at the attachment)
Attached Images
File Type: jpg Screenshot.jpg (53.4 KB, 39 views)
reza1980 is offline   Reply With Quote

Old   July 21, 2013, 06:52
Default
  #165
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Ah, OK, I didn't know that.
What export options does it give you?
wyldckat is offline   Reply With Quote

Old   July 21, 2013, 07:00
Default
  #166
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 4
reza1980 is on a distinguished road
For OF just OF3D.
reza1980 is offline   Reply With Quote

Old   July 21, 2013, 07:05
Default
  #167
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
OK, I think I'm getting the idea.
Can you please generate a very small example case in Pointwise, such as having an internal cylinder and an external cylinder, so that the internal one should rotate inside the external one?
Then share the two meshes in OpenFOAM format here on the forum or at Dropbox or something like that?
Because this way I could see for myself what we're working with.
wyldckat is offline   Reply With Quote

Old   July 21, 2013, 07:11
Default
  #168
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 4
reza1980 is on a distinguished road
Bruno
I can send my major case includes stator+rotor,Ok?
reza1980 is offline   Reply With Quote

Old   July 21, 2013, 07:12
Default
  #169
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
If you are allowed to share the case and if the mesh is not too big, I think you can.
wyldckat is offline   Reply With Quote

Old   July 21, 2013, 07:25
Default
  #170
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 4
reza1980 is on a distinguished road
please give your account in dropB
reza1980 is offline   Reply With Quote

Old   July 21, 2013, 13:05
Default
  #171
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Reza,

Only for the last 20 minutes have I managed to look into this with enough attention.
I have a question for you... How exactly did you do this step :
Quote:
Update Boundary (Add cyclicAMi and tolerance)
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 21, 2013, 13:26
Default
  #172
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 4
reza1980 is on a distinguished road
The interface between Stator and Rotor must be in patch type before merging and then convert to cyclicAMI, and define a tolerance based on tutorial, that is 10-4 , and neighbor for AMI1 and AMI2. The files I sent you must be implemented based on AMI.
reza1980 is offline   Reply With Quote

Old   July 21, 2013, 13:27
Default
  #173
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Then do you mean that you used "createBafflesDict" and createBaffles?
wyldckat is offline   Reply With Quote

Old   July 21, 2013, 13:43
Default
  #174
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 4
reza1980 is on a distinguished road
no not at all, please take a look here,
http://143.248.98.6/ExCFD/dynamicMesh.pdf
reza1980 is offline   Reply With Quote

Old   July 21, 2013, 14:00
Default
  #175
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Reza,

Mmm... I suspected as much. Well, the trick of editing the file "constant/polyMesh/boundary" sometimes works, other times it doesn't. Or at least, I think it might not work as intended.

The reason I say this is because creating baffles requires an indication of "which side is up", or in other words, a reference cell zone for figuring out which side is on the baffle side master and which is on baffle side slave. In theory, incorrectly defining these patches can lead to wrong oriented faces, which could in turn lead to crazy values on the baffle surfaces.

I'm going to see if I can still test this today, namely to use createBaffles for producing a proper surface connection... but only after confirming first the quality of the resulting mesh, after editing the "boundary" file directly, namely by running:
Code:
checkMesh -allTopology -allGeometry -constant
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 21, 2013, 14:05
Default
  #176
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 4
reza1980 is on a distinguished road
Thanks so much Bruno ,I am online If you have any question or needs to sent final case that is ready to run.
Furthermore,I run this case with different Inflow . I can sent some pictures from the results.
One odd thing is to see sometimes the non-overlapped cells .
REGARDS
Reza
reza1980 is offline   Reply With Quote

Old   July 21, 2013, 14:20
Default log file
  #177
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 4
reza1980 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi Reza,

Mmm... I suspected as much. Well, the trick of editing the file "constant/polyMesh/boundary" sometimes works, other times it doesn't. Or at least, I think it might not work as intended.

The reason I say this is because creating baffles requires an indication of "which side is up", or in other words, a reference cell zone for figuring out which side is on the baffle side master and which is on baffle side slave. In theory, incorrectly defining these patches can lead to wrong oriented faces, which could in turn lead to crazy values on the baffle surfaces.

I'm going to see if I can still test this today, namely to use createBaffles for producing a proper surface connection... but only after confirming first the quality of the resulting mesh, after editing the "boundary" file directly, namely by running:
Code:
checkMesh -allTopology -allGeometry -constant
Best regards,
Bruno
Attachment is the log file from checkMesh -allTopology -allGeometry -constant
Attached Files
File Type: gz log.tar.gz (2.0 KB, 5 views)
reza1980 is offline   Reply With Quote

Old   July 21, 2013, 14:24
Default
  #178
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
From your log file, this looks like a problem:
Quote:
Code:
<<Writing 81 cells with two non-boundary faces to set twoInternalFacesCells
It's the only thing that seems to be bad, when compared to the tutorial "incompressible/pimpleDyMFoam/propeller".

OpenFOAM's 2.x paraFoam is able to represent these sets, namely the set in question "twoInternalFacesCells"; search for the "sets" option on the "Object Inspector".
wyldckat is offline   Reply With Quote

Old   July 21, 2013, 14:33
Default
  #179
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 4
reza1980 is on a distinguished road
i access to OF2.1x 2.2x in Cluster network .would you please specify what you mean
reza1980 is offline   Reply With Quote

Old   July 21, 2013, 14:34
Default
  #180
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Sorry, I meant 2.x, with x=0,1,2.
In other words, as of OpenFOAM 2.0.0 and beyond, you can use this feature in paraFoam. Therefore, both 2.2.x and 2.1.x should have it.
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 21:09.