|
[Sponsors] |
January 24, 2018, 12:59 |
|
#21 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
Hi Shafik,
Did you update the boxToCell details inside the setFieldsDict? My guess is that your "box" is outside of your domain i.e. use checkMesh to check the bounds of your domain and make sure the boxToCell is inside this (be careful of units). Philip |
|
January 24, 2018, 13:25 |
Thanks
|
#22 | |
Member
Shafik Walakaka
Join Date: Oct 2017
Posts: 38
Rep Power: 9 |
Quote:
Thanks heaps again! |
||
December 9, 2018, 00:59 |
setFieldsDict - in the form of sphere for 1D solver
|
#23 |
Senior Member
|
Hello everyone, My topic of research is on coke oven process using 1D solver. Heat transfer is considered to be one-dimensional for the lump coal (placed inside the domain). To define geometrical regions in the form of sphere (coal) inside my domain, I adopted setFieldsDict file ~ to initialize fields. But unfortunately, the set field directory gives shapes of sphere for 2D or 3D modeling in better way - whereas not in the case of 1D modeling. I am hereby including my blockMeshDict file (only blocks) and setFieldsDict file. convertToMeters 0.01;blockMeshDict file: vertices ( (0 0 0) (15 0 0) (15 1 0) (0 1 0) (0 0 7) (15 0 7) (15 1 7) (0 1 7) ); blocks ( hex (0 1 2 3 4 5 6 7) (1250 1 1) simpleGrading (1 1 1) ); edges ( ); setFieldsDict file: defaultFieldValues ( volScalarFieldValue C 0 ); regions ( sphereToCell{ centre (0.03 0 0.03); radius 0.02; fieldValues ( volScalarFieldValue C 800 ); } ); Dear Foamers, I want to know the possibility of creating fields in the form of sphere inside my domain for 1D solver using setFieldsDict. If not setfieldDict, is there any relevant options to initialize fields for 1D solver ? Kindly share your ideas plzz..
Thank you |
|
December 9, 2018, 01:15 |
|
#24 |
Senior Member
|
As a result, the initialized field in paraFoam [Attachment] ~ is not in the form of sphere because the set field dimensions is influenced only in X- directional for 1D mesh.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SetFields runs with no errors but doesnbt change fields | adamsview | OpenFOAM Pre-Processing | 3 | December 12, 2014 22:03 |
InterDyMFoam and problem with setFields | chris_sev | OpenFOAM Running, Solving & CFD | 1 | March 23, 2009 22:23 |
Setfields inoutlet and water and air patches | erik023 | OpenFOAM Pre-Processing | 1 | September 29, 2008 11:05 |
Regarding setFields file | 21kalee | OpenFOAM Running, Solving & CFD | 0 | January 14, 2008 06:42 |
problem in solving "wave generation" problem | san | FLUENT | 2 | April 4, 2006 00:37 |