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

UDF generation for pulsatile flow from sinusoidal wave

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2021, 08:21
Default UDF generation for pulsatile flow from sinusoidal wave
  #1
New Member
 
HARIREDDY
Join Date: Jul 2021
Posts: 4
Rep Power: 5
harry93 is on a distinguished road
Hello CFD wizards,



I am working on patient specific AVF Geometry, and I want to use the sinusoidal wave (Inlet mass flow rate) for pulsatile blood flow as inlet boundary condition, which is attached to this thread for reference. How do I create the UDF from this wave ?



Thank you

Regards

Hari
Attached Images
File Type: png Capture1.PNG (18.7 KB, 19 views)
harry93 is offline   Reply With Quote

Old   July 13, 2021, 13:28
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Do you have an equation for this pulse?
__________________
"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform" is NOT the error after compiling. It is the error after loading. To see compiler errors, look at your screen after you click "build".
pakk is offline   Reply With Quote

Old   July 13, 2021, 13:53
Default
  #3
New Member
 
HARIREDDY
Join Date: Jul 2021
Posts: 4
Rep Power: 5
harry93 is on a distinguished road
No sir, I have only that waveform figure. Please let me know, how can I proceed further from this waveform to create a UDF

Thank you
harry93 is offline   Reply With Quote

Old   July 14, 2021, 00:57
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
depends on how long your simulation will be :
1. you may use transient profile
Inlet Speed
https://www.ozeninc.com/tech-tip-flu...text-file-udf/
2. in case you are going to have long simulation you may try to use UDF:
a. divide your graph to some parts and extract equations for each
b. read your graph as a table and interpolate data between points
harry93 likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   July 14, 2021, 03:28
Default
  #5
New Member
 
HARIREDDY
Join Date: Jul 2021
Posts: 4
Rep Power: 5
harry93 is on a distinguished road
Hello sir,

Thanks for your inputs. I've tried the 1st method i.e. to create the .txt file with X and Y variables. However, I would like to try using UDF rather than .txt file. Can you elaborate the points 2a and 2b ?



Thank you
harry93 is offline   Reply With Quote

Reply

Tags
blood flow, fluent - udf, pulsatile flow, udf code


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
UDF profile for a fluid flow through a valve elia.p Fluent UDF and Scheme Programming 0 May 2, 2017 06:52
volume flow rate for outlet boundry condition and dfine udf for it raminostadi FLUENT 0 December 24, 2016 02:52
UDF profile based on function of flow time ERROR! Ash Kot Fluent UDF and Scheme Programming 1 September 2, 2016 10:35
IHFOAM - Wave generation with moving boundaries Phicau OpenFOAM Verification & Validation 0 May 18, 2015 05:53
Wave generation, wave height reduces as it progresses haku88 STAR-CCM+ 1 August 6, 2013 20:32


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