|
[Sponsors] |
February 10, 2015, 00:54 |
|
#81 | |
New Member
behzad
Join Date: Dec 2010
Posts: 15
Rep Power: 15 |
Your cases are not working:
Code:
--> FOAM FATAL IO ERROR: Unknown patchField type sixDoFRigidBodyDisplacement for patch type patch Valid patchField types are : 30 ( angularOscillatingDisplacement angularOscillatingVelocity calculated codedFixedValue cyclic cyclicACMI cyclicAMI cyclicSlip empty fixedNormalSlip fixedValue nonuniformTransformCyclic oscillatingDisplacement oscillatingVelocity processor processorCyclic slip solidBodyMotionDisplacement surfaceDisplacement surfaceSlipDisplacement symmetry symmetryPlane timeVaryingMappedFixedValue timeVaryingUniformFixedValue uniformFixedValue uniformInterpolatedDisplacement value waveDisplacement wedge zeroGradient ) file: /home/behzad/OpenFOAM/behzad-2.3.1/run/freeOscillatingCylinder_scenario1/0/pointDisplacement.boundaryField.cylinder from line 26 to line 123. From function PointPatchField<Type>::New(const pointPatch&, const Field<Type>&, const dictionary&) in file /home/openfoam/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude/pointPatchFieldNew.C at line 151. FOAM exiting ------------------------------------------------------------------------------------------ Quote:
Last edited by wyldckat; February 14, 2015 at 10:58. Reason: Added [CODE][/CODE] |
||
February 10, 2015, 06:15 |
|
#82 | |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
Quote:
try it in OpenFOAM-2.2.2 NOT 2.3.1. It seems to me, that is because of the released version in OpenFOAM you used. All the best |
||
February 10, 2015, 06:48 |
|
#83 |
New Member
behzad
Join Date: Dec 2010
Posts: 15
Rep Power: 15 |
||
February 17, 2015, 10:06 |
|
#84 |
New Member
behzad
Join Date: Dec 2010
Posts: 15
Rep Power: 15 |
What kind of software is used for generating the .geo file in this case?!
|
|
February 18, 2015, 05:57 |
|
#85 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
I used Gmsh to generate the .geo file
|
|
April 6, 2015, 07:09 |
|
#86 | ||||||||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Maimouna: Following from post #80 and a recent private message you've sent me, here's what I can say in a short amount of time (last day on vacation today ): Quote:
As for the topics you've sent me over private message: Quote:
Quote:
Quote:
Quote:
Quote:
Another detail is that you should check if you can achieve the same results when using a rigid cylinder with FSI interaction turned on; you should do not assume it gives the same exact results. Quote:
Quote:
Bruno
__________________
|
|||||||||
April 6, 2015, 08:47 |
|
#87 | |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
Hi Bruno,
Quote:
I hope that explanation would be able to give you idea about what I'm trying to do. Both cases linear and nonlinear elasticity deformation that I was trying referring to flappingConsoleSmal and HronTurekFsi in icoFsiFoam and icoFsiElasticNonLinULSolidFoam solvers, respectively, I'll post them within some minutes when back to my Ubuntu machine. Kind regards Maimouna |
||
April 6, 2015, 10:04 |
|
#88 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
Hi Bruno,
the case about linear elasticity deformation was attached. And the second one for the large deformation elasticity will be attached in the next post because of its volume. Kind regards Maimouna |
|
April 6, 2015, 10:12 |
|
#89 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
Still there is a problem with it's size, I unable to upload it. Any solution to solve this problem. Even I tried to delete some files, it's size is exceeded the 700 KB.
Any other way to upload my folder? Regards Maimouna |
|
April 6, 2015, 11:25 |
|
#90 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Quoting myself from sometime ago:
Quote:
|
||
April 7, 2015, 09:08 |
|
#91 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
Dear Bruno,
here is my case link https://www.dropbox.com/sh/8cj7ligk1...xuMJGYkTa?dl=0 Regards Maimouna |
|
April 14, 2015, 09:01 |
|
#92 |
Member
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13 |
I have been working on 2D cylinder in VIV and could do the simulation. But I don't know how to record the motion trajectories (x-y trajectories) of the cylinder to compare with other published results (probably in paraview).
If anybody knows, please teach me. By the way, I am new to OpenFOAM. |
|
April 16, 2015, 03:59 |
|
#93 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
Dear Thaw Tar,
you can record motion trajectory in pointDisplacement file or motionU file. I think that depends on the OF version that you are working. Regards |
|
April 22, 2015, 07:21 |
|
#94 |
Member
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13 |
Dear Maimouna,
Thank you. Actually, I am doing on OF 2.3.0 using 2.2.0 style dynamicMeshDict and pointDisplacement files. I will try to take data. Regards, Thaw Tar |
|
April 29, 2015, 14:14 |
|
#95 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
Dear Bruno,
here is the last case modification I did. I'm still couldn't figure out the problem https://www.dropbox.com/s/cib2m83gqn...i1.tar.gz?dl=0 I hope you could. I changed the mesh and did some modification in the boundary conditions. With lots of thanks and regards. Maimouna |
|
May 2, 2015, 00:05 |
|
#96 |
Member
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13 |
Dear Maimouna,
Actually, I want to extract x-y trajectories of only the cylinder patch from pointDisplacement files (the centre of mass of the cylinder). I am not interested about other points. Is there any method to do this? If there are two cylinders, how should I get the centre of mass of these two cylinders over time? If you have any information, please help me. I am totally lost. Regards Thaw Tar |
|
May 5, 2015, 06:26 |
|
#97 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
Hi Thaw Tar,
if you would like to grep centre of mass, do the following 1. run the solver (i.e. pimpleDyMFoam) > log 2. all residuals will be saved in log file 3. OpenFOAM has a tool called ''foamLog'' which will scan an output file for certain things, and can customise it for your own requirement. 4. run foamLog log (where log is the name of the standard output file. Data will be written to another directory called ''logs''. 5. To get additional customised data you'll need to i. creat a directory structure in home directory called .OpenFOAM/2.2.2 (where 2.2.2 is OpenFOAM version you are using. Please note that ''.'' at the front. ii. copy the file OpenFOAM/OpenFOAM-2.2.2/bin/tools/foamLog.db to . OpenFOAM/2.2.2 iii. add a line at the bottom of the newly created foamLog.db com/Centre of mass: /Centre of mass: ( you should get x component, I'm not sure there is a way to get y component. iv. run foamLog log to get ''com'' file in logs directory. I hope that would help. Regarding the centre of mass of two cylinders, I don't have any idea. I never work with two cylinders. Kind regards Maimouna |
|
May 7, 2015, 03:31 |
|
#98 |
Member
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13 |
Thank you so much!
I will try! Regards, Thaw Tar |
|
May 10, 2015, 08:57 |
|
#99 |
Member
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13 |
Dear Maimouna,
Thank you. I could extract centre of Mass data from log file. By adding some awk commands, I could create a single centre of mass file for each cylinder. However, I guess it might be much more tricky if the cylinder count gets higher. Regards, Thaw Tar |
|
May 12, 2015, 02:35 |
|
#100 |
New Member
Jessica Rikanti
Join Date: Feb 2015
Location: Indonesia
Posts: 1
Rep Power: 0 |
Hi,
I've taken a look at the forum and tried to run the files that were uploaded here. I managed to run the simulation using the same files in openFOAM 2.3.x (I made a small change on the dynamicMeshDict according to this thread: http://www.cfd-online.com/Forums/ope...f-2-3-0-a.html) Code:
dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" "libsixDoFRigidBodyMotion.so" ); solver displacementLaplacian; displacementLaplacianCoeffs { diffusivity inverseDistance (cylinder); } 1. For the mesh file, I used the blockMeshDict instead of the snappyHexMesh. The diameter of the cylinder is 0.5 m 2. I am testing it for Re=100 3. I want to see the VIV movement of the cylinder, so I tried to only enable the y-line motion Code:
constraints { yLine { sixDoFRigidBodyMotionConstraint line; centreOfRotation (0 0 0); direction (0 1 0); } 5. I use pimpleDyMFoam for the simulation And here's the problem that I've had so far: 1. For this file: https://www.dropbox.com/sh/aqtu63hgb...29x2VCIla?dl=0 The cylinder does not oscillate at all even though the vortices are shed already I made the configuration for the pointDisplacement file as follows Code:
cylinder { type sixDoFRigidBodyDisplacement; centreOfMass (0 0 0); momentOfInertia (0.897 0.897 1.7448); mass 30; orientation ( 1 0 0 0 1 0 0 0 1 ); velocity (0 0 0); acceleration (0 0 0); angularMomentum (0 0 0); torque (0 0 0); gravity (0 -9.81 0); rhoName rhoInf; rhoInf 1; report on; restraints { S1 { sixDoFRigidBodyMotionRestraint linearSpring; anchor (0 2 0); //A1 refAttachmentPt (0 0.25 0); stiffness 0.5; damping 0; restLength 1.75; } } constraints { yLine { sixDoFRigidBodyMotionConstraint line; centreOfRotation (0 0 0); direction (0 1 0); } } value uniform (0 0 0); } back { type empty; } front { type empty; } ".*" { type fixedValue; value uniform (0 0 0); } } Or perhaps is it because I am using OF 2.3.X ? Regards, jerikanti Last edited by jerikanti; May 12, 2015 at 06:04. Reason: adding the DynamicMeshDict |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh "Shadow Wall" | thezack | FLUENT | 0 | June 4, 2013 22:09 |
dynamic mesh for drop interface | IndrajitW | FLUENT | 0 | March 30, 2013 08:03 |
dynamic mesh refinement and rhoCentralFoam | ChrisA | OpenFOAM Running, Solving & CFD | 1 | March 21, 2013 08:00 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 18:10 |