|
[Sponsors] |
August 6, 2012, 04:15 |
How can I rotate this?:
|
#1 |
Member
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 13 |
I want to rotate some patches.
Please see the attached picture. The big circle is a patch and the five smaller circles in the big circle are patches. I want to rotate the big circle patch and the smaller circles with it. And also the smaller circle patches doing oscillating rotating motion. How can I do this? I am absolute beginner, so could you please explain in detail or give me an example. Thanks in advance, Alex |
|
August 6, 2012, 08:14 |
|
#2 |
Member
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 13 |
Hi,
when I try t to rotate first only the big circle by typing this: dynamicFvMesh solidBodyMotionFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); solidBodyMotionFvMeshCoeffs { solidBodyMotionFunction multiMotion; multiMotionCoeffs { cellZone cyclorotor; { solidBodyMotionFunction rotatingMotion; rotatingMotionCoeffs { CofG (0 0 0); radialVelocity (0 360 0); } } } } the whole Mesh is rotating from what I can see in paraFoam Q1) Is this the right function to do the motions describes above? Q2) And if so what do I do wrong, because the entire Mesh is rotating? Regards Alex |
|
August 7, 2012, 09:49 |
|
#3 |
Member
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 13 |
Hi,
does anybody know why with the above mentioned code, the whole Mesh is rotating but not only the chosen patch? Please give me Ideas, did anybody have a similar problem? If you wish I can send you the whole case to find the problems solution. Many thanks in advance, Alex |
|
August 7, 2012, 11:15 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Alex,
A few questions:
Bruno
__________________
Last edited by wyldckat; August 7, 2012 at 11:15. Reason: added point 3 |
|
August 8, 2012, 03:41 |
|
#5 |
Member
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 13 |
Hi Bruno,
Q1) I am using the OpenFOAM-2.01 /tutorials/multiphase/interDymFoam/ras/testTubeMixer/constant/dynamicMeshDict-file which I found in the internet which shows solidBodyMotionFunction multiMotion. Q2) I am using OpenFOAM version 2.1.1. Q3) I use solver pimpleDyMFoam to do solidBodyMotion. I ve never heared of MRF or GGI/AMI Regards, Alex |
|
August 8, 2012, 06:33 |
|
#6 |
Member
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 13 |
Hi Bruno,
you wrote something of AMI, so I tried to use the mixerVesselAMI2D tutorial in pimpleDyMFoam. I copied my blockMeshDict file in it and modified 0/p und 0/U also dynamicMeshDict file and ControlDict file. But I get the following error message: /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.1-221db2718bbb Exec : pimpleDyMFoam Date : Aug 08 2012 Time : 12:31:06 Host : "ubuntu" PID : 3118 Case : /home/gzabos/OpenFOAM/gzabos-2.1.1/run/tutorials/incompressible/pimpleDyMFoam/hybro3 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Selecting dynamicFvMesh solidBodyMotionFvMesh Selecting solid-body motion function rotatingMotion Applying solid body motion to cellZone cyclorotor #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigSegv::sigHandler(int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::solidBodyMotionFvMesh::solidBodyMotionFvMesh (Foam::IOobject const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so" #4 Foam::dynamicFvMesh::addIOobjectConstructorToTable <Foam::solidBodyMotionFvMesh>::New(Foam::IOobjec t const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so" #5 Foam::dynamicFvMesh::New(Foam::IOobject const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so" #6 in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" #7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #8 in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" Segmentation fault (core dumped) I dont know what I am doing wrong, can you give me ideas or do you know what can be the reason for this error? Regards, Alex |
|
August 8, 2012, 08:40 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quote:
Given your experience, what you should do is to take smaller steps:
__________________
|
||
August 8, 2012, 08:56 |
|
#8 |
Member
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 13 |
Hi Bruno,
I have only this week left to get my case run. So I can't experiment much. Could you please tell my how I can run this case and replace m4 mesh generation with my mesh. Just give me something that I can run the case, its very urgent. I also will follow your steps as far as I can go in these three days. Many thanks in advance, I really appreciate your help, Alex |
|
August 8, 2012, 09:15 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Alex,
Sorry, but I'm busy as well this week and AMI is not a piece of cake. I suggest you try the sub-forum CFD Freelancers and request help there. Best regards and good luck! Bruno
__________________
|
|
August 8, 2012, 09:40 |
|
#10 |
Member
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 13 |
Ok
Thanks Bruno, I will try that. Regards, Alex |
|
August 17, 2015, 05:02 |
|
#11 |
Member
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11 |
Hey,
at the moment I try to let my foil oscillate. Here I use at the moment the oscillatingRotatingMotion condition of OpenFOAM 2.3.1. I really would like to run this in foam extend 3.1 Do anyone know the equivalente condition for the foam extend version? Until know I just found a condition for let it rotating and liner oscillating..I need rotatingoscillating. I would be very grateful for anyones help. Best regards, Stephie |
|
August 17, 2015, 08:49 |
|
#12 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quote:
Quote:
Also available in "multiphase/interDyMFoam/ras/sloshingTank*", namely "sloshingTank3D6DoF". |
|||
August 18, 2015, 05:19 |
|
#13 |
Member
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11 |
Hello Bruno,
thank you for your quick answer. Yesterday I tried SDA, but unfortunately it isn't the condition I search. Today I will try your second hint. I hope it is okay, if I ask you again. Since last week I try to let my foil oscillate with the oscillatingrotatingmotion condition, but it doesn't move until now (OF 2.3.1). I am sorry, but I can't load an image. I create my mesh with Salomé. It is a rectangular with a circel in the middel where the airfoil is located. I would like to oscillate the circle. Here I use cyclicAMI for the patches. With theses commands: Code:
setSet -batch setBatch setsToZones -noFlipMap Code:
faceSet Kreis_1_zone new patchToFace Kreis_1 //the outer orbital of the circel (80 cells) faceSet Kreis_2_zone new patchToFace Kreis_2 // the orbital where the circle is cut out (80 cells) Code:
dynamicFvMesh solidBodyMotionFV; motionSolverLib ( "libfvMotionSolver,so" ); solidBodyMotionFvMeshCoeffs { cellZone front_1_extruded; soldBodyMotionFunction oscillatingRotatingMotion; oscillatingRotatingMotionCoeffs { origin (0.05 0 0); amplitude (0 0.0577 0); omega 5; //rad/s } } For teh solver I use pimpleDyMFoam in simple mode. Might you imagine what I did wrong? Thank you for your help again! best regards, Stephie Last edited by wyldckat; August 18, 2015 at 12:02. Reason: Added [CODE][/CODE] markers |
|
August 18, 2015, 14:18 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer: This reminds me of an example case I did sometime ago... this one: http://www.cfd-online.com/Forums/ope...tml#post513012 - post #60
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Rotate and duplicate mesh! | tareqkh | OpenFOAM Meshing & Mesh Conversion | 1 | December 23, 2019 13:01 |
How to rotate plane(360 degree) using ANSA scripting. | Renu123 | ANSA | 1 | March 14, 2018 18:26 |
Rotate frame reference in transient simulation | wjy-c | CFX | 4 | September 4, 2013 21:20 |
How to rotate a pointScalarField? | carowjp | OpenFOAM Programming & Development | 5 | January 27, 2013 19:49 |
[ANSYS Meshing] meshing for rotate and revolute | Ijaz | ANSYS Meshing & Geometry | 0 | December 25, 2011 16:51 |