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

Velocity profile to inlet in su2

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2018, 10:49
Default Velocity profile to inlet in su2
  #1
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 14
harsha_kulkarni is on a distinguished road
Hello friends,
I want to give parabolic velocity profile
to inlet.
How to give it in SU2
harsha_kulkarni is offline   Reply With Quote

Old   October 21, 2018, 15:32
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 824
Rep Power: 23
bigfootedrockmidget is on a distinguished road
Hi, sorry nobody replied to your post sooner.


You can specify your own inlet profiles (as discrete data) by using the following keywords below. When you do not have an inlet_profile.dat file, a file will be generated for you that you can then edit.

% Read inlet profile from a file (YES, NO) default: NO
SPECIFIED_INLET_PROFILE= YES
INLET_MATCHING_TOLERANCE= 1e-6
%
% File specifying inlet profile
INLET_FILENAME= inlet_profile.dat
bigfootedrockmidget is offline   Reply With Quote

Old   October 21, 2018, 22:58
Default
  #3
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 14
harsha_kulkarni is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
Hi, sorry nobody replied to your post sooner.


You can specify your own inlet profiles (as discrete data) by using the following keywords below. When you do not have an inlet_profile.dat file, a file will be generated for you that you can then edit.


% Read inlet profile from a file (YES, NO) default: NO
SPECIFIED_INLET_PROFILE= YES
INLET_MATCHING_TOLERANCE= 1e-6
%
% File specifying inlet profile
INLET_FILENAME= inlet_profile.dat
So we cannot give in terms of equation.
And is this similar way to give profile to boundary conditions.
harsha_kulkarni is offline   Reply With Quote

Old   December 27, 2018, 02:49
Default
  #4
New Member
 
akay bayat
Join Date: Dec 2018
Posts: 8
Rep Power: 8
akaybayat is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
Hi, sorry nobody replied to your post sooner.


You can specify your own inlet profiles (as discrete data) by using the following keywords below. When you do not have an inlet_profile.dat file, a file will be generated for you that you can then edit.

% Read inlet profile from a file (YES, NO) default: NO
SPECIFIED_INLET_PROFILE= YES
INLET_MATCHING_TOLERANCE= 1e-6
%
% File specifying inlet profile
INLET_FILENAME= inlet_profile.dat
Can you send your input data file? Or did you find another way ?
akaybayat is offline   Reply With Quote

Old   December 28, 2018, 09:44
Default
  #5
Member
 
na
Join Date: Jul 2018
Posts: 90
Rep Power: 9
TKatt is on a distinguished road
Hey,

There is a tutorial testcase available (from Thomas Economon) on the SU2 homepage which covers inlet profile definition via input file: https://su2code.github.io/tutorials/Inc_Laminar_Step/ It might be a good starting point.

If you want to apply specified profiles on other boundary condition types (e.g. Heatflux) I am afraid to say that this not possible out of the box. With a little bit of code modification you can add the features yourself.

The same applies for inlet profiles in terms of an equation. But there it might be faster to just write a little python program which reads the inlet profile file and computes the inlet values based on the given coordinates

Hope that helps,
Tobi
TKatt is offline   Reply With Quote

Old   December 28, 2018, 10:23
Default
  #6
New Member
 
akay bayat
Join Date: Dec 2018
Posts: 8
Rep Power: 8
akaybayat is on a distinguished road
Thank you very much Tkatt gör your response. Tutorial seems very useful for me. However, when i tried with SU2_CFD.exe in Windows, i have an error message like that "There is no this input type Spesific inlet type" . Did you try it in Windows?
akaybayat is offline   Reply With Quote

Old   December 29, 2018, 09:44
Default
  #7
Member
 
na
Join Date: Jul 2018
Posts: 90
Rep Power: 9
TKatt is on a distinguished road
Hi,

I only work on Linux machines. I just ran the tutorial case with the latest master version and it works just fine for me.

Please be more specific about your problem. In this case you should at least add the screen output of SU2 for the case you ran. By doing so everyone can see the exact error message (because I believe the one you gave has spelling mistakes) and you are more likely to get (quick) help.

Cheers, Tobi
TKatt 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
combining parabolic inlet velocity profile with time varying velocity vector values jawapasu OpenFOAM 3 July 10, 2023 06:41
Velocity inlet BC profile antonio.c FLUENT 1 November 1, 2017 15:22
[swak4Foam] Inlet velocity profile for turbulent pipe flow using swak4Foam zordiack OpenFOAM Community Contributions 5 February 23, 2016 02:52
Strange velocity profile at the inlet for a flow inside a cylindrical pipe michmich OpenFOAM Running, Solving & CFD 0 July 2, 2012 04:37
Export & Import Velocity profile as Inlet eRzBeNgEl STAR-CCM+ 6 March 26, 2012 06:16


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