CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Boundary conditions at the inlet

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By JulioPieri

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2022, 06:31
Post Boundary conditions at the inlet
  #1
New Member
 
Aydar
Join Date: Dec 2021
Location: Russia, Kazan
Posts: 4
Rep Power: 5
Aydar Mukhametov is on a distinguished road
Hello everyone!

I have a problem with setting boundary conditions for my inlet U.
I split the model into 2 and want to pass the flow profile from the output face to the inlet U to another model. Similar to profiles in ANSYS Fluent. The problem is the non-conformal of the mesh and the different number of cells.
How to pass values to cells.
If you cannot do this directly, how can you find out how many cells are at the inlet face to the grid for interpolation/extrapolation of data

Outlet U flow profile:
Code:
value nonuniform List<vector>
2027
(-0.0000836602766903	-0.0000554160490847	-1.14944599934)
(-0.0000786158087913	-0.0000192940240258	-1.14881594931)
(0.00000986322607156	0.0000244414452658	-1.15140353244)
.
.
.
(-0.000231261644039	0.000111121525061	-1.06405317319)
__________________
Best regards,Mukhametov Aydar
Aydar Mukhametov is offline   Reply With Quote

Old   January 14, 2022, 14:27
Default
  #2
Senior Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 109
Rep Power: 9
JulioPieri is on a distinguished road
I know one way to do it using "timeVaryingMappedFixedValue. Is not the best, but it might work. It's been a long time since I used this, but the idea is:

1) run the case1
2) postProcess with a surface on top of the outlet
3) copy the content of CASE1"postProcessing/surfaces/YourSurf" to CASE2"constant/boundaryData/YourNewInletPatchName"
4) make sure your new case (case2) has the inlet on the same position as the outlet (the dont need to be identical, but must be coplanar and have some cells in common).
5) change the bc of the new case fo "timeVaryingMappedFixedValue" - do some research on how to use it properly

This will map what was happening at the outlet of case1 to the new inlet of case2.

Search for that BC and you will get more info
Aydar Mukhametov likes this.
JulioPieri 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
Centrifugal fan j0hnny CFX 13 October 1, 2019 14:55
Wrong multiphase flow at rotating interface Sanyo CFX 14 February 7, 2017 18:19
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 11:20
Low torque values on Screw Turbine Shaun Waters CFX 34 July 23, 2015 09:16
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 18:30


All times are GMT -4. The time now is 01:00.