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

Where do I find fvOptions code?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 4, 2022, 10:20
Default Where do I find fvOptions code?
  #1
New Member
 
Sudharsan Bharatwaj
Join Date: Dec 2021
Posts: 7
Rep Power: 2
bruce21 is on a distinguished road
I am trying to implement a moving actuator disk for graduation thesis. I have attached a figure of the actuator disk cellSet below. What I want to achieve now is, an uniform momentum source irrespective of the cell thickness/volume. When I tried imposing a constant value of thrust to the cells (by changing the OpenFOAM prebuilt utility 'actuationDiskSource'), I observed that the momentum imparted to the flow by thicker cells is higher than the thinner ones. I have attached the velocity plot along the actuator disk both upstream and downstream. There you will be able to observe the change in momentum imparted (the velocity profile will have a slope rather than being flat). However, I am not sure why that is happening. I need help finding that out.

I noticed that the variable 'Usource' is the momentum source term that gets passed on to Ueqn, but unable to figure out what exactly it does to the momentum equation. Can anyone indicate how I can find the way 'Usource' is introduced to the momentum equation? I will attach a screenshot of the code snippet from the modified 'actuationDiskSource' utility.
Attached Images
File Type: png upstream_Ux.png (24.9 KB, 4 views)
File Type: png downstream_Ux.png (21.4 KB, 4 views)
File Type: png Actuator_Disk.png (32.4 KB, 6 views)
File Type: png Code.png (34.7 KB, 7 views)
bruce21 is offline   Reply With Quote

Reply

Tags
actuationdisksource, actuator disc, fvoptions momentum source

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
[OpenFOAM.org] Installing OpenFOAM-2.4.0-MNF on Ubuntu 18.0.4 mr35diamonds OpenFOAM Installation 3 July 6, 2022 10:08
UDF input parameter "unable to find rpvar" sergiocavaleirocosta Fluent UDF and Scheme Programming 4 March 26, 2019 08:57
Who can find me this fortran code 'CHEMR'? Dong Ye Main CFD Forum 1 October 13, 2005 18:02
What is the Better Way to Do CFD? John C. Chien Main CFD Forum 54 April 23, 2001 09:10
Open source CFD code development, possible? Dr. Yazid Bindar Main CFD Forum 27 July 18, 2000 01:18


All times are GMT -4. The time now is 06:10.