CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

profile boundary condition

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2011, 07:06
Default profile boundary condition
  #1
Senior Member
 
Shashwat
Join Date: Nov 2011
Posts: 107
Rep Power: 14
shaswat is on a distinguished road
Hai

I am doing blood flow simulation. I am going to use transient profile pressure as an inlet boundary condition.
I follow the steps as in the tutorial below
http://www.edr.no/blogg/ansys_blogge...nsient_profile

Pressure is my inlet boundary condition

I don't know how to setup pressure profile in the boundary details>mass and momentum>option>relative pressure.

Please help me

Thank you for your kind help

Regards
shashwat


pressure1.jpg
shaswat is offline   Reply With Quote

Old   November 11, 2011, 11:58
Default
  #2
Senior Member
 
Join Date: Apr 2009
Posts: 531
Rep Power: 20
stumpy is on a distinguished road
Has anybody validated that approach? I'm not convinced it's accurate since you would be using a distance weighted interpolation method to interpolate in time.
stumpy is offline   Reply With Quote

Old   November 13, 2011, 01:29
Default pressure profile_ urgent help needed
  #3
Senior Member
 
Shashwat
Join Date: Nov 2011
Posts: 107
Rep Power: 14
shaswat is on a distinguished road
Dear all
please find the attached pressure with respect to time data
I would like to use this as an input . Kindly help me how to set up this in the inlet

Thank you

Regards
shaswat
Attached Images
File Type: jpg pressure2.JPG (96.1 KB, 25 views)
shaswat is offline   Reply With Quote

Old   November 13, 2011, 17:54
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Use a 1D interpolation function and use the function for your boundary condition value.
ghorrocks is offline   Reply With Quote

Old   November 14, 2011, 02:25
Default
  #5
Senior Member
 
Shashwat
Join Date: Nov 2011
Posts: 107
Rep Power: 14
shaswat is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Use a 1D interpolation function and use the function for your boundary condition value.
Thank you Mr Glenn
Please find the attached document for your perusal.

Please comment on the following
1. Is my profile boundary correct?
2. I applied the following settings in the boundary details>mass and momentum>option>total pressure (stable)>Relative pressure>inlet.pressure(t)

Thank you

Regards

Shashwat
Attached Images
File Type: jpg pressure12.JPG (68.8 KB, 19 views)
shaswat is offline   Reply With Quote

Old   February 6, 2015, 01:42
Default
  #6
Member
 
Join Date: Oct 2013
Location: Malaysia
Posts: 39
Rep Power: 12
dotapro is on a distinguished road
Dear Shaswat,
May I know how are you able to export spatial field [t] as I could only extract [x],[y],[z] ?

Thanks.
dotapro is offline   Reply With Quote

Old   February 6, 2015, 04:44
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The file shown about was not exported but appears to be generated by hand.

Exporting the time variable is simply a matter of exporting the x,y,z field at each time step. This will get pretty tedious after a while so you will probably want a session file to automate it for you.
ghorrocks is offline   Reply With Quote

Old   February 8, 2015, 21:11
Default
  #8
Member
 
Join Date: Oct 2013
Location: Malaysia
Posts: 39
Rep Power: 12
dotapro is on a distinguished road
Yup, it become very tedious especially when you have a large bunch of time steps. So, can anyone gives me some ideas on how to write the session file and load it? I only manage to try on scripting and batch processing tutorial.
dotapro is offline   Reply With Quote

Old   February 8, 2015, 22:24
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Start recording a session file, then do a few time steps and stop the session file. Load the session file up in a text editor and you should be able to figure out the syntax, it is not too complex. Then to generate a session file which will do the whole thing you can:
* copy/paste the text file and manually update things like the time step number
* write a python/matlab/whatever program which generates the test file and do a loop to generate the repetitive bit
* Use CFD-Post perl capabilities to do the looping directly.

I generally do the second option because I know python pretty well and I could not be bothered learning perl. But several people on this forum know perl pretty well so some would choose the perl option. If you don't want to code anything then do it the first way, it does not take that long to do unless you are talking about hundreds of time steps.
ghorrocks is offline   Reply With Quote

Old   February 9, 2015, 07:26
Default
  #10
Member
 
Join Date: Oct 2013
Location: Malaysia
Posts: 39
Rep Power: 12
dotapro is on a distinguished road
Dear Glen,

I will use the first method since I have no knowledge about coding. I have a question whereby I fail to initiate profile data if I manually program spatial field with x[m], y[m], z[m], t[s] as it can only accept three coordinates. Let say if i combine outlet.fixed mixture.temperature(x,y,t) + outlet.fixed mixture.temperature (z,t) in static temperature variables? Is it correct if I program it in such a way?

Last edited by dotapro; February 10, 2015 at 05:03.
dotapro is offline   Reply With Quote

Reply

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
mixed inflow/outflow downstream boundary condition question peob OpenFOAM Running, Solving & CFD 3 February 3, 2017 11:54
velocity profile inlet boundary condition question Lcw FLUENT 3 August 3, 2012 06:53
CFX Solver : Sudden crash Hervé CFX 2 June 16, 2008 07:40
applying profile data as a boundary condition vadivel CFX 1 June 9, 2007 08:11
Pressure Boundary Condition Matt Umbel Main CFD Forum 0 January 11, 2002 11:06


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