CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Mesh motion control at run-time, not prescribed

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2021, 15:05
Default Mesh motion control at run-time, not prescribed
New Member
Sócrates Fernández
Join Date: Mar 2020
Location: Cádiz, Spain
Posts: 10
Rep Power: 4
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


automatic control, mesh motion, overset

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 02:36
CFX FSI Fatal Error unbanana CFX 0 October 3, 2015 05:57
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 07:56
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58

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