Thanks for that! I have executed that command and noted that I have two regions in my constant/polyMesh/cellZones file.
With AMI I have noticed that the dynamicMeshdict requires a faceZone. I tried to create this using setSet with the following sequence: faceSet innerFace new patchToFace AMIMoving <that's my moving zone's face> faceZoneSet innerFace new setsToFaceZone innerFace region1 <I think this is my inner region> Out of interest is there a way of finding out which region relates to which of my two merged meshes? I did try region0 too!! rerunning pimpleDymFOAM, now, just reproduces the rotation of the whole model that I have been fighting with for so long. Any other suggestions? I can zip up my model if that might help? It's a bit convoluted though since I am running snappyHexMesh(Castellated) / flattehMesh / Extrude / snappyHexMesh(Snap) on each mesh before merging them. Kindest Regards Andrew |
Cant you just zip the final case where it rotates the whole mesh.
Use dropbox, Gdrive or something else if its too big for CFD-online |
Hi.... Here is the dropbox link. I've tried to tidy up the directory structure a bit and put notes in the shell script files.
https://dl.dropboxusercontent.com/u/...eTestAMI2D.zip Best Regards Andrew |
Hi cant we just get the final case.
The shell scripts does not work properly. Best |
Duh, sorry, didn't read your last entry fully..... this link gives the model at the last step after the merge and splitMeshRegions.
https://dl.dropboxusercontent.com/u/...innemanAMI.zip The Master directory is AMI Regards Andrew |
Oh... The shell scripts probably didn't work right because I'm running OF on Mac OS X.... I think the grep statements are formed differently to linux.
Andrew |
Hi
Just change this in the dynamicMeshDict Code:
solidBodyMotionFvMeshCoeffs https://docs.google.com/file/d/0Bxal...it?usp=sharing |
Thank you so much for your help....... although it does make me feel incredibly thick! I think I got fixated on the faceZone entry in dynamicMeshDict and didn't look into what the possibilities were!
Out of interest though why was my faceZone method not working? In my setSet step (not in the model I shared late yesterday but in the setBatch file in the original share) I thought I was making a faceZone which incorporated the cellZone region0 and the AMIMoving face.... obviously this was wrong but I'd like to try to understand what was wrong about it? Is this something you could advise me on? Once again, thanks you so much for your help and patience! Kindest Regards Andrew |
I'm trying to take a slightly different track with my model now and I'm wondering how best to achieve the result. I've been experimenting with a basic mesh (essentially cavity) and creating an inner and outer mesh using setSet. I have been able to create cellSets for the inner and outer regions but if I want to rotate the inner cellset what would be the best way to do this?
The basic mesh has NO internal feature, like in the cavity tutorial, so I am building internal features like the cellSets. I'm trying to rotate the cells in an AMI / dynamicMesh fashion like my last experimentation so I need to create two patches for the AMI faces. should this be based on createBaffles / mergeOrSplitMeshes -split or it there a more appropriate method like splitMeshRegions? I'm doing this in order to reduce the amount of time spent meshing for future models since sHM/flatten/extrude/sHM for each region then merging and splitting the mesh seems quite involved if I can sHM/flatten/Extrude/sHM once and then introduce the internal AMI features I require. Also I don't seem to be able to get the much closer distances between the two meshes that I would like using the merge method. I have tried creating a faceZone based on the inner cellSet then creating baffles but this doesn't seem to work, if I try to use moveDynamicMesh it just fails with a segFault (I'm using MacOSX so it's perhaps not as well manner as in Linux!) I would welcome anyone's suggestions and guidance on this. regards Andrew |
1 Attachment(s)
Hi all,
I have a basic problem to setup a case for pimpleDyMFoam solver, I got some idea from this post, still I am not clear. In my case I have 3 domain Inlet Volume, fan Volume, outlet volume. you can imagine the case is just a pipe, sub divided in to 3 volume (see attached Fig). The middle one is suppose to rotate. So far I am using MRF its going fine. Now I want to use pimpleDyMFoam, I dont know how to treat the in between faces. This is going to be my first try please help and correct me, steps what I understood from the previous post is, 1) I need to split the domain in to three. As long as i am going to use sliding mesh, so the mesh no need to be conformal I think. 2) Then I will have three .msh files I have few questions, before exporting the mesh, while giving BC in Gambit what BC, should I use for the faces (interface? internal?) where I need to place this three .msh file? all in one folder? or separately? after converting this mesh, there will be three constant folder. Do I need to edit anything before merging this mesh? if so where and what I need to edit. Please help me to go further. Thanks, Sivakumar |
Quote:
first of all MRF is usually used in steadystate cases. Pimpledymfoam is for transient cases, or at least transient solution cases. For the dynamic case where the domain does indeed rotate, you have to set the region(s) which rotates. the interfaces you should set as AMI so that the solver can handle non-conformal patches that happen in rotating regions. but if u have a steadystate case with a cyclic domain with a mrf region then you should use other solvers, like the MRFsth. try to figure out what u need first, is your case transient or ss? and then u go from there.. gl |
Hi Calim , thanks for your reply, I don't know which question is forced you to answer like this.
Siva |
Hi There,
I tried and followed the steps mentioned in this thread, I dont know which step I am missing. Please help me to sort out the problem. Here is the step which I followed, 1) I have divided my domain in to 3 volume, each volume has its unique faces, then non conformal has been generated. (4 interface are defined AMI_1, AMI_2 ......) 2) fluent3DMeshToFoam 3) I have modified the AMI boundaries under case/constant/boundary ( as jiejie explained in his post) I am not sure what are the steps I need to perform more. While executing checkMesh I am getting the following error, Code:
Create time Thanks, Siva |
Greetings to all!
@Siva: I see that you have gotten some answers to your questions here: http://www.cfd-online.com/Forums/ope...tml#post466156 So I have no idea if you still are having problems with this. If you are still having problems with this, I suggest that you create a simplified version of a case conceptually similar to yours, so that you can share it with us. That way it'll be easier to help you. Because from the error message given by checkMesh, all I can figure out is that something went wrong in your editing of the file "boundary". Best regards, Bruno |
hi linnemann
well I am also trying for propeller case, I used FV schemes, FV solution given in the propeller case. I meshed my propeller using Ansa. Thing I want to ask you is how to select a fv scheme, Fv solution?, what should be the value of non orthgonality, max skewness?. |
Hi.
try this thesis: Error Analysis and Estimation for the Finite Volume Method with Applications to Fluid Flows http://www.h.jasak.dsl.pipex.com/HrvojeJasakPhD.pdf cheers! ;) |
Hi,
based on pimpleDyMfoam's wingMotion example, I managed to mesh a new moving geometry. Though, pimpleFoam crashes so I lowered time step to 1e-4. Now pimpleFoam finishes in 3 iterations with poor results. Details, Files & pictures attached in this thread, post #3 and #4 http://www.cfd-online.com/Forums/ope...tructures.html Any clue how to make this work correctly ? iy-a PS : I just had to run pimpleDyMFoam in a loop using a bash script ! |
Quote:
I was trying to setup a similar case and stumbled upon this thread. First of all thanks for the detailed explanation - it puts the problem in perspective. I tried to download the case file but seems like the file is not present. Can you please upload to Dropbox or drive? I think this is a starting point for anyone trying to understand Ami so I will put up the case on a permanent FTP for everyone. Thanks again. Sangram. |
All times are GMT -4. The time now is 10:10. |