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

Custom Time Variable Pressure Gradient Boundary Condition

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By hazem1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2024, 04:10
Question Custom Time Variable Pressure Gradient Boundary Condition
  #1
New Member
 
Hazem
Join Date: Mar 2024
Posts: 3
Rep Power: 2
hazem1 is on a distinguished road
Hello,
I am new to OpenFOAM, and I want to implement this custom time dependent pressure gradient boundary condition at the inlet:

dp/dx = rho*(U/dt)*(1-Uc/U)

where:
rho, Uc are constants that are defined by the user
U is obtained from solving mass conservation

Therefore, dp/dx should be updated at every time step

How can I do that?

Thanks in advance.
xiaxi1201 likes this.
hazem1 is offline   Reply With Quote

Old   November 24, 2024, 05:08
Default
  #2
New Member
 
xiaxi
Join Date: Apr 2024
Posts: 1
Rep Power: 0
xiaxi1201 is on a distinguished road
I also meet this problem. Have you solved it yet
xiaxi1201 is offline   Reply With Quote

Reply

Tags
custom boundary condition, programing


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
Postprocess: sampleDict works but creates no output folder shock77 OpenFOAM Post-Processing 14 November 15, 2021 09:27
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 17, 2020 00:44
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
Radiation interface hinca CFX 15 January 26, 2014 18:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44


All times are GMT -4. The time now is 04:19.