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

Inlet profile SU2 Fluid mixture

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2023, 14:26
Post Inlet profile SU2 Fluid mixture
  #1
New Member
 
Sem
Join Date: Apr 2023
Posts: 3
Rep Power: 3
sjhbosmans is on a distinguished road
Hi,

I'm currently trying to specify a velocity profile for one of my inlets for a fluid mixture model, which is why I've selected the following options, after running it without specifying inlet profile:

RESTART_SOL= YES
SPECIFIED_INLET_PROFILE= YES
INLET_FILENAME= inlet.dat

I believe SU2 should create an example inlet file when no such file is present in the directory, but is doesn't create such an example file and it results in an error after "Reading inlet profile from file: inlet.dat".

It runs perfectly fine without specifiying an inlet profile, but for some reason it does not create the example inlet file after changing the options.

Does anyone know how to fix these issues?

Thanks in advance!
sjhbosmans is offline   Reply With Quote

Old   April 1, 2023, 17:14
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 548
Rep Power: 17
bigfootedrockmidget is on a distinguished road
There seems to be an error when you do this in parallel, if you just run SU2_CFD without mpirun I get a restart file.
bigfootedrockmidget is offline   Reply With Quote

Old   April 2, 2023, 03:41
Default
  #3
New Member
 
Sem
Join Date: Apr 2023
Posts: 3
Rep Power: 3
sjhbosmans is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
There seems to be an error when you do this in parallel, if you just run SU2_CFD without mpirun I get a restart file.

Thanks for your reply!

Does this only hold for fluid mixture? Because I does generate an example inlet file when running laminar step tutorial in parallel.

I would like to try running it in series, but my SU2 doesn't work in series, so I always use parallel. Probably, I need to fix that first.
When I'm running a simulation in series it will always directly result in the error "An error occurred in MPI_Win_create", which I think is quite strange for a series simulation. But because of that, I've always used parallel simulations.
sjhbosmans is offline   Reply With Quote

Old   April 3, 2023, 06:57
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 548
Rep Power: 17
bigfootedrockmidget is on a distinguished road
There's an error with writing an initial profile when using mpi + multiple inlets:



https://github.com/su2code/SU2/issues/1998


SU2 should work in serial if you just leave out the mpirun command. We can discuss tomorrow.
bigfootedrockmidget is offline   Reply With Quote

Old   April 4, 2023, 15:10
Default
  #5
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 548
Rep Power: 17
bigfootedrockmidget is on a distinguished road
The problem is fixed in develop and will be in the next release.
bigfootedrockmidget is offline   Reply With Quote

Reply

Tags
inlet profile problem, su2

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
setting the inlet for turbulent boundary layer profile Zhijian Yan FLUENT 0 February 9, 2021 16:38
Udf velocity inlet profile with multiphase mixture (ansys fluent) md_lidia Fluent UDF and Scheme Programming 2 December 12, 2020 01:23
SU2 inlet profile error dwstevens SU2 1 June 8, 2020 16:08
extracting outlet velocity profile from one case to another case's inlet tonggysun OpenFOAM 2 September 13, 2013 04:19
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 17:23.