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

Setting volume fraction in a specific block?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2011, 18:50
Default Setting volume fraction in a specific block?
  #1
New Member
 
Jeff Perry
Join Date: Sep 2010
Posts: 3
Rep Power: 15
tbolt427 is on a distinguished road
Hi All

I have a basic question that I can't seem to figure out in the docs. I have a domain consisting of two blocks. For the interFoam examples, setFieldsDict always uses boxToCell to set non-default values for alpha1. That is,

regions
(
boxToCell
{
box (0 0 -1) (0.1461 0.292 1);
fieldValues
(
volScalarFieldValue alpha1 1
);
}
);

Is there a method to set alpha1 in a block that has been defined in blockMeshDict?

Thanks
tbolt427 is offline   Reply With Quote

Old   March 1, 2011, 07:11
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
search in wiki about funkySetField it gave more option
nimasam is offline   Reply With Quote

Old   March 1, 2011, 08:23
Default
  #3
New Member
 
Jeff Perry
Join Date: Sep 2010
Posts: 3
Rep Power: 15
tbolt427 is on a distinguished road
Thanks for the reply. I'll look at the wiki.

I thought about writing code to setup 0/alpha1 but it doesn't seem that it is simple to figure out which cells belong to a given block.

Again, thanks for the tip.
tbolt427 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
multiphase... solid volume fraction anomaly Tim CFX 4 February 14, 2012 04:01
about compresive phase James CFX 10 September 12, 2006 03:16
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02
How to apply negtive pressure to outlet bioman66 CFX 5 June 3, 2006 01:40
Help! Where is the URF for volume fraction? gogo FLUENT 0 January 23, 2006 15:08


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