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

[Other] Stting up changeDictionaryDict file for CHT

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2018, 07:05
Default Stting up changeDictionaryDict file for CHT
  #1
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 4
Sean95 is on a distinguished road
I am working on a CHT model with four regions, I looking for some help with the changeDictionaryDict file. How would I go about setting it up for a particular region based on my U,p,etc files. Below is the U file, everything is either specified as a wall or cyclicAMI in the boundary file. Any help would be greatly appreciated as this is last step before I can run the sim

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  plus                                  |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    refractory_to_fluid_domain
    {
        type            noSlip;
    }
	
	head_can_to_fluid_domain
    {
        type            noSlip;
    }
	
	heat_acceptor_to_fluid_domain
    {
        type            noSlip;
    }
	
	refractory_right
    {
        type            cyclicAMI;
    }
	
	refractory_left
    {
        type            cyclicAMI;
    }
	
	refractory_exterior
    {
        type            noSlip;
    }
	
	fluid_domain_right
    {
        type            cyclicAMI;
    }
	
	fluid_domain_left
    {
        type            cyclicAMI;
    }
	
	fluid_domain_bottom
    {
        type            noSlip;
    }

    inlet
    {
        type            fixedValue;
        value      	  uniform (-0.35 0 0);
    }

    outlet
    {
        type            zeroGradient;
    }
	
	heat_acceptor_left
    {
        type            cyclicAMI;
    }
	
	heat_acceptor_right
    {
        type            cyclicAMI;
    }
	
	head_can_left
    {
        type            cyclicAMI;
    }
	
	head_can_right
    {
        type            cyclicAMI;
    }
	
	head_can_to_interior_heat_acceptor
    {
        type            noSlip;
    }
	
	head_can_interior
    {
        type            noSlip;
    }
	
	head_can_bottom
    {
        type            noSlip;
    }
}


// ************************************************************************* //
Sean95 is offline   Reply With Quote

Old   June 27, 2018, 13:08
Default
  #2
Senior Member
 
kandelabr's Avatar
 
Nejc
Join Date: Feb 2017
Location: Slovenia
Posts: 151
Rep Power: 5
kandelabr is on a distinguished road
It's in the snappyMultiRegionHeater tutorial: https://github.com/OpenFOAM/OpenFOAM...DictionaryDict

Check changeDictionaryDicts for other regions as well.

Also a useful tool for setting up CHT cases is about to be released with a new version but for now you can use templates in the -dev version. They are very helpful even without the setup tool: https://github.com/OpenFOAM/OpenFOAM...singleFluidCHT
kandelabr is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 101 February 2, 2017 23:36
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 21:03
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46


All times are GMT -4. The time now is 23:26.