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

How to export velocity profile and load it as inlet condition

Register Blogs Community New Posts Updated Threads Search

Like Tree17Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2016, 07:03
Default
  #21
New Member
 
Piyush
Join Date: Apr 2015
Location: Kolkata
Posts: 12
Rep Power: 11
piyupant is on a distinguished road
Quote:
Originally Posted by marauder View Post
This is what I'm trying to do and apparently there is no easy way to do it. You have to write an UDF using the DEFINE_DPM_OUTPUT to display or write the particle properties at your desired plane...
thank you for prompt reply.
did you figured out the problem?
however if i write udf using DEFINE_DPM_OUTPUT than how to use it further as a injection file as injection file has format like [ ((injection-0 ((type . inert) (injection-type . surface) (numpts . 1) (dpm-fname . " ") (surfaces 31 33) ].

Thanking You

Piyush
piyupant is offline   Reply With Quote

Old   March 1, 2016, 07:09
Default
  #22
Member
 
Anonymous
Join Date: Mar 2014
Posts: 84
Rep Power: 12
marauder is on a distinguished road
Today only posted the query at the following link and I'm stuck at compiling as interpretting is not working, have to install Visual Studio, will post the progress if I get to there...

http://www.cfd-online.com/Forums/flu...es-outlet.html
piyupant likes this.
marauder is offline   Reply With Quote

Old   April 19, 2016, 04:07
Default fully developed flow in the inlet
  #23
New Member
 
lakshan
Join Date: Apr 2016
Posts: 1
Rep Power: 0
laky1988 is on a distinguished road
hi,
im trying to simulate graetz problem in fluent. for this i need to form a fully developed flow in the inlet. i tried in by importing the profile of the outlet of same dimension,same mesh specifications geometry and import in to the inlet.but this really did not work. i tried appling the specific x velocity component and the x velocity after the fully developed flow as well. but still i cannot simulate the fully developed profile in the inlet.i tries inverse distance method in interpolation as mentioned in previous thread but still the results are the same. i do really appreciate your kind help on this matter thank you.
laky1988 is offline   Reply With Quote

Old   April 19, 2016, 13:58
Default fully developed flow in the inlet
  #24
Member
 
Ram Kumar Pal
Join Date: Apr 2015
Posts: 38
Rep Power: 11
rampal is on a distinguished road
Have you checked that at outlet velocity profile is fully developed ? First check this. I mean channel length should be sufficient. If you are sure that at outlet velocity profile is fully developed then write the profile for x-velocity, y-velocity at outlet. In next simulation read this profile at inlet. Change the inlet boundary condition for velocity specification method as "components" and apply outlet x-velocity for x component and outlet y-velocity for y component.
rampal is offline   Reply With Quote

Old   May 18, 2016, 05:57
Default hi every body
  #25
New Member
 
Join Date: Feb 2016
Posts: 26
Rep Power: 10
pmechz is on a distinguished road
How can i write the profile of two different velocity ? and then import it to my geometry with two inlets?

please help me
pmechz is offline   Reply With Quote

Old   May 18, 2016, 05:59
Default
  #26
New Member
 
Join Date: Feb 2016
Posts: 26
Rep Power: 10
pmechz is on a distinguished road
How can i write the profile of two different velocity ? and then import it to my geometry with two inlets?

please help me
pmechz is offline   Reply With Quote

Old   May 20, 2016, 10:03
Default write the profile
  #27
Member
 
Ram Kumar Pal
Join Date: Apr 2015
Posts: 38
Rep Power: 11
rampal is on a distinguished road
You have only one outlet or more than one outlet in your geometry.
rampal is offline   Reply With Quote

Old   May 20, 2016, 12:52
Default
  #28
New Member
 
Join Date: Feb 2016
Posts: 26
Rep Power: 10
pmechz is on a distinguished road
2 inlet and one outlet
pmechz is offline   Reply With Quote

Old   May 21, 2016, 13:50
Thumbs up write profile
  #29
Member
 
Ram Kumar Pal
Join Date: Apr 2015
Posts: 38
Rep Power: 11
rampal is on a distinguished road
There is no need to write two profile. First write the profile of properties at outlet like velocity, turbulence and others, what you want to apply at inlet. Then in next simulation read this profile at inlet and apply the properties at inlet according to your problem.
You can do this by writing two different profile at outlet for inlet (i.e. for two inlet) and then apply at each inlet separately.

hope u will do this
rampal is offline   Reply With Quote

Old   May 22, 2016, 08:54
Default
  #30
New Member
 
Join Date: Feb 2016
Posts: 26
Rep Power: 10
pmechz is on a distinguished road
i mean that when i want to read both profiles.the soft ware (fluent) just read the last profile that u read .
pmechz is offline   Reply With Quote

Old   July 18, 2016, 12:22
Default
  #31
New Member
 
Join Date: Jun 2013
Posts: 4
Rep Power: 13
eenee222 is on a distinguished road
Is there a way to write UDF to automate exporting a profile at the outlet and use it as an inlet condition in the same case?
eenee222 is offline   Reply With Quote

Old   July 22, 2016, 04:02
Default internal surface extract?
  #32
New Member
 
Join Date: Jul 2016
Posts: 2
Rep Power: 0
Bai Memo is on a distinguished road
Is it possible to extract profile from surface which is not outlet or inlet- internal?
Bai Memo is offline   Reply With Quote

Old   July 22, 2016, 04:05
Default
  #33
Member
 
Anonymous
Join Date: Mar 2014
Posts: 84
Rep Power: 12
marauder is on a distinguished road
Quote:
Originally Posted by Bai Memo View Post
Is it possible to extract profile from surface which is not outlet or inlet- internal?
Yes as long as it shows up in selection menu. I have done it at interfaces etc.
marauder is offline   Reply With Quote

Old   July 22, 2016, 04:11
Smile
  #34
New Member
 
Join Date: Jul 2016
Posts: 2
Rep Power: 0
Bai Memo is on a distinguished road
Quote:
Originally Posted by marauder View Post
Yes as long as it shows up in selection menu. I have done it at interfaces etc.
Tanks for the fast reply
Bai Memo is offline   Reply With Quote

Old   April 15, 2017, 02:44
Post manual CFD
  #35
New Member
 
HASAN
Join Date: Oct 2016
Location: canada
Posts: 9
Rep Power: 10
alburkatyhasan@yahoo.com is on a distinguished road
Hi guys
please i am new user for Ansys fluent
anybody could to send me manual about how to use Ansys fluent? and pls let me know how to add inlet velocity in fluent ansys?
this is my email
alburkatyhasan@gmail.com
many thanks
hasan
alburkatyhasan@yahoo.com is offline   Reply With Quote

Old   April 16, 2018, 04:13
Default How to create a profile for poison in Ansys fluent
  #36
New Member
 
Vipul Parmar
Join Date: Mar 2018
Posts: 2
Rep Power: 0
vipulparmar174 is on a distinguished road
Hi guys!
I'm doing cfd simulate of engine.
And i want to give the velocity to the poison but idon't know how to create the external profile for giving this so ineed your help.
Please mail me the suggestion asap.
vipulparmar174@gmail.com
vipulparmar174 is offline   Reply With Quote

Old   March 4, 2019, 03:41
Default problems using profile as inlet boundary condition
  #37
New Member
 
Join Date: Mar 2019
Posts: 1
Rep Power: 0
Chr1st1ne is on a distinguished road
Dear all,

I am trying to use an outlet profile as inlet BC for a RANS simulation (turbulence modell: Reynolds-Stress, stress-omega) in a backward-facing step using Fluent.
I have the coordinates, all velocity components, pressure, turbulent kinetic energy, turb dissipation rate, specific dissipation rate and Reynolds stresses exported from a simulation in CFX.
After reading the profile, using it in the inlet boundary condition and initializing the simualtion I checked the contours at the inlet and received the following errors:
1. x,y,z-velocities are lower than in my exported profile (e.g. max velocity in the profile file was 0.46m/s in Fluent it is now 0.4 m/s)
2. tke, sdr, tdr and Reynolds stresses are not shown as a profile but as a constant value over the inlet (this value is again lower than in the profile data)
3. Reynolds-stresses uv, vw, uw are set to 0

I have checked the coordinate system, the units and the velocity vectors, all seems fine.

Have you had this error before? Do you know what could be wrong?

This is how I do it:
1. Adapt the CFX profile to Fluent syntax
2. Fluent: Boundary conditions > Profiles > Read Profile > choose .prof file
3. set velocity inlet: velocity specification method: Components (choose x,y,z velocities from profile); turbulence specification mehtod: k and epsilon (choose k and epsilon from profile); Reynolds-stress specification method: Reynolds-stress-components (choose stresses from profile)
4. Initiliaze

Thanks a lot for your help!
Chr1st1ne is offline   Reply With Quote

Old   March 4, 2019, 14:58
Default
  #38
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Exporting an outlet profile to an inlet is not so straightforward. It sounds like you did everything right except maybe...


When you export it at the outlet, it takes the coordinates (x,y,z)'s at the outlet location. You inlet is (probably?) at a different location. Then when it interpolates from the old coordinates to the new, it causes these errors because your new locations.


If this is the case, you need to translate the coordinates at the outlet to the inlet. Either you edit the text file generated using a text editor, or you translate the mesh in CFX before you export it so that it can be read properly.
LuckyTran is offline   Reply With Quote

Old   March 13, 2019, 07:43
Default
  #39
New Member
 
Daniel
Join Date: Jan 2019
Posts: 1
Rep Power: 0
the.glorified.plumber is on a distinguished road
Quote:
Originally Posted by eenee222 View Post
Is there a way to write UDF to automate exporting a profile at the outlet and use it as an inlet condition in the same case?

I'd like to do the same thing, creating a UDF to automate the export of the outlet profile and then using it to define the inlet at every time step. Does anyone know how to go about this?
the.glorified.plumber 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
how to export every data w.r.t time to txt file jaho CFX 94 August 25, 2015 10:45
How to apply velocity profile at inlet Sam CFX 12 April 1, 2012 07:52
WSS ASCII export problem Birkov FLUENT 1 July 27, 2009 15:09
Fluent UDF load and apply inlet velocity b.c. Knut Lehmann Main CFD Forum 2 June 29, 2007 05:53
applying profile data as a boundary condition vadivel CFX 1 June 9, 2007 08:11


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