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

uniformly distributed boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2014, 09:52
Default uniformly distributed boundary conditions
  #1
New Member
 
Join Date: Mar 2014
Posts: 3
Rep Power: 12
iksweczaro is on a distinguished road
Hello,

I have a question concerning uniformly distributed boundary conditions. The thing is that I have a circular stripe identified as one patch (already meshed stl file which is a part of a bigger installation). I want to set the same uniformly distributed boundary conditions so that it will act as 24 air flow inlets.

Simple draft:


I was thinking about GroovyBC, but I never used this tool, so firstly I would like to know what is your opinion.

Thanks in advance.
iksweczaro is offline   Reply With Quote

Old   May 5, 2014, 03:14
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

It looks like you could use something like this:

Code:
Inletpatch
{
  type  flowRateInletVelocity;
  volumetricFlowRate constant 1;
  value uniform (0 0 0);
}
You would need to know the total flowrate in m3/s from all your nozzles, but this boundary condition will distribute the flow equally and it will get the normal of all patches from the orientation of the face. Please note I wrote this from memory, might be that the actual name is slightly different.

Regards,
Tom
tomf is offline   Reply With Quote

Old   May 13, 2014, 07:11
Default not exactly what I need
  #3
New Member
 
Join Date: Mar 2014
Posts: 3
Rep Power: 12
iksweczaro is on a distinguished road
Hi,

thx for yor your response. Though I'm not sure if I described what I need precisely enough. Thing is I don't need uniform distribution of a velocity through the whole stripe. I need separately distributed inlets introduced by one patch. That's why I was wondering if GroovyBC is not the right solution. But as I'm not familiar with groovy, maybe you know how to do it easier?

Maybe this "high-tech" drawing will clear up what I mean:


Regards.
iksweczaro is offline   Reply With Quote

Old   May 13, 2014, 08:20
Default
  #4
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

Well easiest (for one simulation) would be to use several inlets instead of the entire strip and use the flowRateInlet. Otherwise you could define specific sections based on the location of the nozzle using groovyBC, probably a coded boundary could also work. But as I am not familiar with your way of working, or what tools you have available, I would not know what would be the best. If you need a lot of different simulations, where different nozzles (from different sections) are to be used between them, groovyBC would be flexible enough I think if you do not want to split up your strip.

Personally I think groovy is rather convenient, once you understand the syntax.

Regards,
Tom
tomf is offline   Reply With Quote

Old   May 13, 2014, 09:43
Default
  #5
New Member
 
Join Date: Mar 2014
Posts: 3
Rep Power: 12
iksweczaro is on a distinguished road
Hi,

Thx for swift response.
The thing about splitting the geometry into several patches is obvious but problematic. The strip is small in response to the whole geometry. When I split it in 26 smaller inlets, those get less clear and some of them get deformed. I know that obvious solution to this problem, is to thicken the mesh by adding a cylinder or a ring with higher level of division of cells, but when I do that the number of cells increases and I'm already over the limit. In order not to loose the shape of inlets I could use surfaceFeatureExtract but that's not very efficient, and it also increases the number of cells. That's why I'm searching for different tool. While I was doing my research I encountered the topic of groovyBC but I'm unfamiliar with this tool.
My idea was to somehow set the BC so that the velocity could be introduced for e.g. as a sinus > 0 around the strip. What do you think about that?
iksweczaro is offline   Reply With Quote

Old   May 13, 2014, 10:09
Default
  #6
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Ok I understand that there may be quality issues with splitting the strip. We generally use an external mesher which helps in this case.

Well yes you would need a mathematical expression which is done with groovyBC, or the codedFixedValue, I would prefer groovyBC. There are plenty of examples around that can give you an idea.

I would not know of any other option.

Regards,
Tom
tomf 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 07:38
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
[Netgen] boundary conditions and mesh exporting vaina74 OpenFOAM Meshing & Mesh Conversion 2 May 27, 2010 09:38
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15
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 12:55.