CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Multiple cellZones within rotor (AMI)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2018, 04:38
Default Multiple cellZones within rotor (AMI)
  #1
New Member
 
Benjamin
Join Date: Apr 2014
Location: Zürich
Posts: 27
Rep Power: 12
Benji is on a distinguished road
Hey everyone

Hope I am in the right Sub-Forum with this. I am simulating a hydraulic dump with interDyMFoam/AMI (see also attached image), 3D.
What I want to do is have the dump filled with water (setFields, cellZone) and then the whole part within the line "rotor" rotating. I set up the case with AMI, rotating and static part with gmsh.

I am struggling with filling the hydraulic dump with water as an initial condition: I can define the whole volume within the "rotor-circle" as one cellZone (including the hydraulic dump) and then use the dynamicMeshDict to rotate. But then, I cannot define the "hydraulic dump" part only as a cellZone that I could fill with water with setFields.
The other way would be to treat the hydraulic dump and the rest of the rotor as individual volumes, but then I have 2 cellZones that I need to rotate within my dynamicMeshDict. So my question: Is there a way to do this (without using MRF)?

Many thanks!

Ben

setFields:
Code:
  regions
  (
      zoneToCell
      {
          name "dump";
          fieldValues
          (
              volScalarFieldValue alpha.water 1
          );
      }
  );
Bonus question: When I create baffles vor the internal patches as walls, it says that patch already exists and writes the mesh to time 0.002. I'm sure this is a very trivial problem, I want to have the mesh in 0, a hint?

Bonus question 2: How can I make the rotation not just a fixed velocity, but define an acceleration?
Attached Images
File Type: jpg Hydraulic_Dump_AMI.jpg (152.1 KB, 60 views)
Benji is offline   Reply With Quote

Old   January 19, 2018, 05:35
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

Just some quick hints.

Not sure about the first part using multiple cellZones. Maybe you can instead use cellSets for the initialization and use the cellZone for the rigid body motion.

For bonus question one: use -overwrite as option for the creation of the baffles

For bonus question two: use a funtion1 type (a table for instance)

Regards,
Tom
tomf is offline   Reply With Quote

Old   November 23, 2018, 05:25
Default
  #3
New Member
 
Chayanit Nigaltia
Join Date: Jan 2018
Posts: 29
Rep Power: 8
CHAYANIT is on a distinguished road
I am simulating a 2D pitching foil. I am using C mesh and using AMI. But I am not able to specify the moving cellZone. I using Gmsh mesh generator.
Regards
Chayanit
CHAYANIT 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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[OpenFOAM.org] Install openFOAM 3.0.1 in Ubuntu 16.04 LTS from Deb packs Pier84 OpenFOAM Installation 4 June 18, 2016 16:22
[ICEM] Multiple edges asal ANSYS Meshing & Geometry 2 March 22, 2013 10:10
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
DecomposePar and CellZones Anne Lincke OpenFOAM 4 October 13, 2010 09:18


All times are GMT -4. The time now is 18:51.