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

using outlet velocity profile as inlet for next set of iterations

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2020, 10:40
Default using outlet velocity profile as inlet for next set of iterations
  #1
Member
 
Tyler Richardson
Join Date: Jun 2017
Posts: 30
Rep Power: 9
tricha122 is on a distinguished road
Hi,

i have a straight 3D pipe with a mass flow inlet and pressure outlet. I'd like to get the fully developed velocity profile throughout the pipe, so my intention was to run the solution, take the velocity profile from the oultlet and use it as a velocity-inlet BC, and repeat until convergence.

My problem is that the velocity profile that i export is actually negative (because its at an outlet), and has x,y, and z locations - where Z is different.

I am currently using the TUI in the following way:

/solve/iterate (rpgetvar'rampiter)
/file/write-case-data sae_study_0.cas ok ok
;
;#################################################
;### Write out velocity profile
/file/write-profile/ outlet_velocity_1 outlet () z-velocity ()
;
;#################################################
;### Velocity inlet profiles
/file/read-profile "outlet_velocity_1.prof"
/define/profiles/interpolation-method outlet 1
;
;### Fluid Boundary condition
;### Velocity inlet
/define/boundary-conditions/zone-type inlet velocity-inlet
/define/boundary-conditions/velocity-inlet inlet no no yes yes yes no "outlet" "z-velocity" no 0 no (rpgetvar'ref/temperature) no no yes 5 10
;
/solve/iterate (rpgetvar'rampiter)
/file/write-case-data sae_study_1.cas ok ok
;
;#################################################
;### Write out velocity profile
/file/write-profile/ outlet_velocity_2 outlet () z-velocity ()
;
;#################################################
;### Velocity inlet profiles
/file/read-profile "outlet_velocity_2.prof"
/define/profiles/interpolation-method outlet 1
;
;### Fluid Boundary condition
;### Velocity inlet
/define/boundary-conditions/zone-type inlet velocity-inlet
/define/boundary-conditions/velocity-inlet inlet no no yes yes yes no "outlet" "z-velocity" no 0 no (rpgetvar'ref/temperature) no no yes 5 10
;
/solve/iterate (rpgetvar'rampiter)
/file/write-case-data sae_study_2.cas ok ok


is there a way to use the TUI to output the profile with just X, Y locations, and velocity magnitude? Thanks!
tricha122 is offline   Reply With Quote

Reply

Tags
mapping, profile, velocity-inlet

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
Free surface issues with interDyMFoam for hydroturbine oumnion OpenFOAM Running, Solving & CFD 0 October 6, 2017 15:05
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 14:40
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 12:08
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 05:13


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