|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Bruce Hartley
Join Date: Jun 2011
Posts: 9
Rep Power: 4 ![]() |
I just want to set a simple patch at a definable temperature in a simple model to use to solve with laplacianFoam. I have copied the tutorial example but it is too difficult to understand and the users instructions are insufficient for me to use. So, what do I need to put into blockMeshDict and in other places if required, in order to set some temperature boundary conditions on a very simple Laplace's equation solution?
Thanks |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 765
Rep Power: 13 ![]() |
You just use blockMeshDict to define and name your patches. The boundary (and initial) conditions are set in the files in the 0/ directory. So if you want to set a fixed temperature on a certain patch, you add / edit that patch in 0/T:
Code:
patchName {
type fixedValue;
value uniform 500;
}
|
|
|
|
|
|
|
|
|
#3 |
|
New Member
Bruce Hartley
Join Date: Jun 2011
Posts: 9
Rep Power: 4 ![]() |
I can see that type of definition in the 0/T file but I can't make sense of what I need to put into the blockMeshDict.
Things like patches ( patch1 fixedValue ( (0 1 10 9) ) ) give errors |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 765
Rep Power: 13 ![]() |
I'm not psychic, so "gives errors" won't help a lot in fixing your problem. Anyway the general way to define a patch is:
patch_type is either patch or empty in most cases, and patch name is whatever you want to call it (although fixedValue might not be the best idea because it clashes with an openfoam type, to avoid confusion better call it something like Dirichlet). patches ( patch_type patch_name ( (four point indicies that make up a patch) ) ) |
|
|
|
|
|
|
|
|
#5 |
|
New Member
Bruce Hartley
Join Date: Jun 2011
Posts: 9
Rep Power: 4 ![]() |
Akkides, Thanks, I have it now.
Bruce Hartley |
|
|
|
|
|
![]() |
| Tags |
| constantvalue, laplacianfoam, patches, temperature |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fluent msh and cyclic boundary | cfdengineering | OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... | 48 | January 25, 2013 03:28 |
| Fluent3DMeshToFoam | simvun | OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... | 48 | May 14, 2012 05:20 |
| Using createPatch in place of couplePatches | sripplinger | OpenFOAM Mesh Utilities | 8 | November 13, 2009 07:14 |
| Calculation of the Governing Equations | Mihail | CFX | 5 | July 25, 2008 17:29 |
| Setting of the outlet temperature | Chinna | FLUENT | 0 | November 29, 2003 12:42 |