CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Can I alter the field static pressure using UDF?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2018, 06:39
Question Can I alter the field static pressure using UDF?
  #1
New Member
 
Anuja Vijayan
Join Date: Mar 2017
Location: Thiruvananthapuram
Posts: 23
Rep Power: 9
anuarun is on a distinguished road
Hello all,
I know that C_P(cell, thread) will call the local static pressure variable into the UDF for each cell. Is there any way by which I can alter the local static pressure? Something like a macro. For example, If I want to introduce a pressure correction in momentum equation, is there a way to do that with or without UDF?
anuarun is offline   Reply With Quote

Old   November 23, 2018, 04:51
Default
  #2
Senior Member
 
Join Date: Sep 2017
Posts: 246
Rep Power: 12
obscureed is on a distinguished road
Hi Anuarun,


Not really, not in Fluent. The Fluent solver is continually trying to get pressure and velocity to match, so it will fight against any unexplained variation to pressure. I think if you want to explore the details of solver numerics, OpenFOAM might be a better option.


Good luck!
Ed
obscureed is offline   Reply With Quote

Old   November 23, 2018, 06:17
Default
  #3
New Member
 
Anuja Vijayan
Join Date: Mar 2017
Location: Thiruvananthapuram
Posts: 23
Rep Power: 9
anuarun is on a distinguished road
Thank you Ed for your suggestion.
anuarun 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
Another discussion on velocity-pressure coupling toodles Main CFD Forum 16 January 6, 2018 15:45
Periodic flow using Cyclic - comparison with Fluent nusivares OpenFOAM Running, Solving & CFD 30 December 12, 2017 06:35
Varying Pressure Outlet with Field Function t8fanning STAR-CCM+ 14 November 1, 2017 11:39
Ocean pressure field problem luisao FLUENT 1 May 11, 2017 11:20
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


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