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

Boundary Condition based on sensor plane / internal field measurement

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2022, 06:56
Default Boundary Condition based on sensor plane / internal field measurement
  #1
New Member
 
Join Date: Jul 2022
Posts: 1
Rep Power: 0
Matt2341 is on a distinguished road
Hi All,

I’m trying to implement an “opposition control” style flow configuration. (I believe first introduced by H. Choi, P. Moin, and J. Kim - Active turbulence control for drag reduction in wall-bounded flows)

In a channel flow configuration, you define a wall velocity profile (for the Upper and Lower walls) that is based on the wall-normal velocity coming through a detection plane (time-varying). The attached diagram might help show the setup.

OppControlMoin.PNG

I’m not going to lie, this is very much a stretch of my abilities (or perhaps beyond). I was just wondering if anyone had already implemented such a setup in OpenFoam or had any suggestions on setting up these boundary conditions?

So far I’ve been working with the nearWallFields function object to retrieve measurements and also the timevaryingmappedfixedvalue to map a velocity profile to the wall. My original plan was to use the systemCall function to run a python script to process the data and generate a new mapping of inlet values. My concerns (i.e. some of the things I've discovered) with the above approach are that:
1. OpenFoam doesn’t wait for the python script from the systemCall
2. I’d really like to be able to run in parallel but haven’t figured out how you could do so with the above approach.

After re-evaluating things, I started looking around at some other potential avenues, like the externalCoupled function or custom boundary patches (hoping that’s not required).

Anyway, if anyone had some thoughts on a good approach, I’d really appreciate it! Even if you feel like just ruling out some of my rookie ideas, that would be great also.

Cheers
Matt2341 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
Boundary condition for Internal Baffle shanvach OpenFOAM Running, Solving & CFD 3 December 29, 2023 02:32
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 16, 2020 23:44
Applying convection as internal boundary condition? evanJ FLUENT 4 January 28, 2019 09:49
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20


All times are GMT -4. The time now is 08:15.