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

Mesh motion control at run-time, not prescribed

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2021, 16:05
Default Mesh motion control at run-time, not prescribed
  #1
New Member
 
Sócrates Fernández
Join Date: Mar 2020
Location: Cádiz, Spain
Posts: 10
Rep Power: 6
sfernaferna is on a distinguished road
Send a message via Skype™ to sfernaferna
Dear Community,

I have started working on the implementation of an automatic controller for a simpe trailing edge flap deflection for a given target lift coefficient. I am working on OpenFOAMv2012.

My intention is to control the rotation of an overset mesh of the flap at run-time by means of a PID controller or similar. Therefore, the mesh motion cannot be prescribed in dynamicMeshDict because it needs to be decided and modified at run time by the controller. As far as I know (and have tested using the twoSimpleRotors tutorial), modifying the file dynamicMeshDict at run time does not produce any changes in mesh motion.

I could not find any discussions that adressed how to approach this problem. The two options I am thinking of are:

Writing an external program (e.g. in Python) that follows these steps:
  1. runs the solver (e.g. overDyMPimpleFoam) for a short given number of time steps
  2. Reads the lift coefficient and calculates the control signal
  3. Rotates the flap mesh (small deflection ensured) via transformPoints -rotate
  4. Remerges the mesh, maps the previous state and runs again the solver. Repeat until setpoint is reached

The second approach, which I would very much like to avoid at least in the first stages of the project, would be to write my own dynamicFvMesh Class that controls mesh motion with an integrated controller on the code or that reads the control signal at run time.

I would very much appreciate to have your thoughts on this matter. Somehow I have not managed to find any computational studies or projects that do this kind of control in OpenFOAM.

Best wishes!
sfernaferna is offline   Reply With Quote

Reply

Tags
automatic control, mesh motion, overset


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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
CFX FSI Fatal Error unbanana CFX 0 October 3, 2015 06:57
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 08:56
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


All times are GMT -4. The time now is 14:50.