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

Extrapolate Outlet profile and use as inlet profile for different cfd simulation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2023, 07:11
Default Extrapolate Outlet profile and use as inlet profile for different cfd simulation
  #1
New Member
 
Nick
Join Date: Jun 2023
Posts: 3
Rep Power: 2
cfdpester is on a distinguished road
Hi,

I have a very heavy CFD mesh to run so I wanted to divide the domain into 2 sections.

I want to extrapolate the outlet profile of my 1st simulation and use it as inlet profile on the 2nd simulation.

The mesh of the outlet from the 1st simulation will be different from the inlet simulation of the 2nd simulation even though the geometry is the same.

I need to do this in OpenFOAM, can anyone help?

I have thought using mapfields but it only works when you want to map internal volumes. Does anyone know how to do it only for surfaces?

Thank you
cfdpester is offline   Reply With Quote

Old   October 13, 2023, 06:41
Default
  #2
Member
 
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 4
Pappelau is on a distinguished road
Hello Nick,
the inlet condition you are searching is timeVaryingMappedFixedValue, there is a case in the tutorials that should describe it , if i recall correctly.

For outputing there are many possible ways (Paraview, foam Postprocess or during runtime)
Pappelau is offline   Reply With Quote

Old   October 16, 2023, 06:34
Default
  #3
New Member
 
Nick
Join Date: Jun 2023
Posts: 3
Rep Power: 2
cfdpester is on a distinguished road
Hi Lukas,

Thank you so much for the reply. How do I extrapolate those points? Is it using sampling?

Thanks,

Nick
cfdpester is offline   Reply With Quote

Old   October 18, 2023, 04:42
Default
  #4
Member
 
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 4
Pappelau is on a distinguished road
depends on what you set inside the boundary condition, there is a parameter called mapMethod, it defaults to planarInterpolation and can be switched to nearest .
Pappelau is offline   Reply With Quote

Reply

Tags
boundary condition, mapfields, profile boundary cond.

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



All times are GMT -4. The time now is 04:47.