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

Changing the porosity of cells per time step

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2019, 07:59
Default Changing the porosity of cells per time step
  #1
New Member
 
Neil Barker
Join Date: Nov 2018
Posts: 1
Rep Power: 0
NeilmBarker is on a distinguished road
UDF Newbie here so please be gentle.

I'm trying to simulate a valve closing without the valve being there. This is to hopefully make it a bit easier to compute. I've modelled a ram pump and would like to look at the water hammer effect further up the pipe network.

I was thinking, the easiest way was to create a set of porous cells at the end of the pipe and change them from letting fluid through to not letting it through. I was hoping the porosity of a range of cells could be altered per time step. I can then complete multiple models with different valve closing times.

My question is, do you think this is achievable via the UDF? Or am I going down the wrong route? I’ve been wanting to start UDF coding for some time now. But this problem may not be the one to start with.

From what i've learnt so far doing CFD is, “there's more than one way to skin a cat”. “And some cats are easier to skin than others..”


Thanks,



Neil
NeilmBarker is offline   Reply With Quote

Old   March 25, 2019, 00:30
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
What cats are you talking about?

Did you try to change porosity manually to stop flow? Does it work?

best regards
AlexanderZ 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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34


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