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

Reading field values and setting them as boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2009, 04:39
Default Reading field values and setting them as boundary conditions
  #1
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Hello World.

Let me introduce a problem I'm currently thinking about.
Maybe we can brainstorm on it together?

I'm dealing with a very complex mesh on which I have already performed a solution. Now I want to re-run a very 'closeup' investigation of a small region inside of this domain.
So I was wondering if cutting this region and investigating it on its own can be done in this way...

It is basically the following:
I need to read internal field values from an existing case and set them as boundary conditions for another case.

Let me explain this in some detail with the cavity case.
Having found the solution of the case I want to use half of the domain for another case.
Splitting the original mesh into two the original internal faces become boundary faces for the new case.

What I want to achieve is that the values of the internal faces of the existing solution are somehow 'read' and then put as boundary conditions to the new case for each (existing) timestep while the solver is running on the new case.

This may sound odd in case of the simple cavity case, but I'm confident it may be useful in my special case.

Any help is appreciated.
Have a nice day...
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   July 7, 2009, 06:18
Default
  #2
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Looks like the mesh handling can be done with subsetMesh (which uses cellSet).

Now I need a tool, which reads the values from the original internal field and put them onto the new faces.

Sounds easy
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega 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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 06:55
Set nonuniform boundary values nikwin OpenFOAM Running, Solving & CFD 1 November 30, 2008 07:12
Boundary conditions Marco Mazzieri FLUENT 0 September 19, 2007 12:12
Please help with flow around car modelling! Tudor Miron CFX 17 March 19, 2004 19:23
A problem about setting boundary conditions lyang Main CFD Forum 0 September 19, 1999 18:29


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