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

Transpiration Boundary Condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2021, 13:40
Default Transpiration Boundary Condition
  #1
New Member
 
Davide Gatti
Join Date: Jan 2016
Posts: 6
Rep Power: 10
davecats is on a distinguished road
Hi there,

I would like to implement a transpiration boundary condition in SU2 for simulating blowing/suction from a solid permeable surface of an airfoil, for instance.

What I exactly mean with transpiration (or permeability) boundary condition is practically a solid wall, where the velocity components tangential to the wall are zero, while a nonzero velocity is allowed in the wall-normal direction. In pratice, this should be something like the already available subsonic BC_Inlet boundary condition with specified flow direction and mass flow, with the only difference that the wall-parallel velocity components should be aware that there is a wall. This is at the moment not the case.

Has anyone experience on this or an idea on how to formulate this in SU2?

I have been trying to merge the inlet boundary condition and the (for instance) isothermal wall boundary condition but without success at the moment.

______________________
Davide Gatti
Postdoctoral Researcher
Karlsruhe Institute of Technology (Germany)
davecats is offline   Reply With Quote

Old   November 27, 2021, 12:45
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
So what happens if you just copy the inlet boundary conditions into the isothermal wall bc function So basically what is inside the function BC_INLET. You throw away the PRESSURE_INLET sections. You hardcode the values for Flow_Dir.
bigfootedrockmidget is offline   Reply With Quote

Old   November 27, 2021, 17:37
Default
  #3
New Member
 
Davide Gatti
Join Date: Jan 2016
Posts: 6
Rep Power: 10
davecats is on a distinguished road
Hi bigfootedrockmidget,
thank you for your reply! I'll try to do that asap and report the result.

The closest I've done so far is to simply use the BC_Inlet boundary condition to mimic blowing through a portion of the suction side of an airfoil in the subsonic regime. The result was that the imposed velocity was not exactly the one that I prescribed in the configuration file (most importantly, it varied along the chord while it should have been constant). In particular, a wall-parallel velocity component started to build up, like if there was no no-slip condition. This is probably due to the missing viscous correction in BC_Inlet (it is commented out in the code, due to severe convergence problems, a comment says). Probably I should try, when I copy the BC_Inlet in the CNSSolver, to try to reactivate the correction by using the CNSSolver::Viscous_Residual method. What do you think?
__________________
___________________
Davide Gatti
Postdoctoral Researcher
Karlsruhe Institute of Technology
davecats is offline   Reply With Quote

Old   November 27, 2021, 20:05
Default
  #4
New Member
 
Davide Gatti
Join Date: Jan 2016
Posts: 6
Rep Power: 10
davecats is on a distinguished road
Hi bigfootedrockmidget,

here some tries I have done:

1) If I use BC_Inlet with the laminar compressible boundary layer case, it does not converge
2) If I use BC_Isothermal wall but I modify the SetVelocity_Old part as follows

/*--- Store the corrected velocity at the wall which will
be zero (v = 0), unless there is grid motion (v = u_wall)---*/
if (dynamic_grid) {
nodes->SetVelocity_Old(iPoint, geometry->nodes->GetGridVel(iPoint));
}
else {
nodes->SetVelocity_Old(iPoint, blowingVelocity);
}
for (auto iDim = 0u; iDim < nDim; iDim++)
LinSysRes(iPoint, iDim+1) = 0.0;
nodes->SetVel_ResTruncError_Zero(iPoint);


it does converge and the velocity at the wall is correct. The wall-normal velocity does not seem to affect the flow. I obtain a wall-normal velocity profile similar to the boundary layer without blowing, the only difference being the first few 3 to 5 grid points at the wall, where I see an oscillatory behaviour of the wall-normal velocity.

3) If I combine the isothermal and inlet boundary condition, the simulation does not converge, as for the inlet case.
__________________
___________________
Davide Gatti
Postdoctoral Researcher
Karlsruhe Institute of Technology
davecats is offline   Reply With Quote

Old   November 29, 2021, 06:15
Default
  #5
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Hi,

You should not forget that the inlet boundary conditions are imposed in a weak way, so they are not exact. You might want to impose them in a strong way instead.
bigfootedrockmidget is offline   Reply With Quote

Old   November 29, 2021, 08:11
Default
  #6
New Member
 
Davide Gatti
Join Date: Jan 2016
Posts: 6
Rep Power: 10
davecats is on a distinguished road
Thank you bigfootedrockmidget,

I'll try to compute the inlet state as done in BC_Inlet for the MASS_FLOW inlet and impose it in a strong way as done for (some) variables in BC_Isothermal_Wall.

I guess, tough, that I will incur in the same problem as before, i.e. that I do achieve the specified values for the variables at the wall, however these values do not seem to affect the flow. It seems like the information that there is a mass flux is missing.

I'll try it and let you know how it goes. Thank you for your support!
__________________
___________________
Davide Gatti
Postdoctoral Researcher
Karlsruhe Institute of Technology
davecats is offline   Reply With Quote

Old   November 29, 2021, 10:46
Default
  #7
New Member
 
Davide Gatti
Join Date: Jan 2016
Posts: 6
Rep Power: 10
davecats is on a distinguished road
I tried to impose the values of the Primitives computed by BC_Inlet in a strong way (i.e. as done in BC_isothermal_wall by setting Solution_old, setting LinSysRes to zero and making the respective rows of the Jacobian unitary diagonal).

If the velocity I set is actually zero, then everything looks fine and I get a result like the one for the standard boundary layer, as we should. If I set a positive velocity, which would correspond to wall blowing, then I do still get unphyical results. In particular, a positive wall-normal momentum can be observed at the wall and outside of the boundary layer, while within the boundary layer the wall-normal velocity is negative.

Maybe I am doing something wrong?

Do you see any big problems in my way of proceeding?
__________________
___________________
Davide Gatti
Postdoctoral Researcher
Karlsruhe Institute of Technology
davecats 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Centrifugal fan j0hnny CFX 13 October 1, 2019 14:55
Accessing multiple boundary patches from a custom boundary condition file ripudaman OpenFOAM Programming & Development 0 October 22, 2014 19:34
Radiation interface hinca CFX 15 January 26, 2014 18:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44


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