Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial 3 - Conjugate Heat Transfer #36

Open
JezSw opened this issue Oct 7, 2024 · 1 comment
Open

Tutorial 3 - Conjugate Heat Transfer #36

JezSw opened this issue Oct 7, 2024 · 1 comment

Comments

@JezSw
Copy link
Owner

JezSw commented Oct 7, 2024

No description provided.

@kzscisoft
Copy link
Collaborator

Issues with pretex when using the following box files (I assume the conversion from 2D to 3D is incorrect):

solid.box

ray0.rea
3        spatial dimension
2        number of fields
#========================================================
#
#    Example of 3D  .box file for fluid. This gives 2 x 1 x 1
#    box with 20 x 10 elements
#
#    If nelx (y or z) < 0, then genbox automatically generates the
#    grid spacing in the x (y or z) direction
#    with a geometric ratio given by "ratio".
#    ( ratio=1 implies uniform spacing )
#
#========================================================
#
Box
-20    -5    -1     nelx,nely,nelz for Box
0.0    2.0   1.0    x0 x1 ratio
-0.2   0.0   1.0    y0 y1 ratio
0.0    1.0   1.0    z0 z1 ratio
   ,   ,   ,   ,   ,   ,    V bc's  ! NB:  3 characters each, in order: -x, +x, -y, +y, (-z, +z)!
I  ,I  ,t  ,E  ,I  ,I    T bc's  !      You must have 2 spaces!!
Box
-20    -5    -1     nelx,nely,nelz for Box
0.0    2.0   1.0    x0 x1 ratio
1.0    1.2   1.0    y0 y1 ratio
0.0    1.0   1.0    z0 z1 ratio
   ,   ,   ,   ,   ,   ,    V bc's  ! NB:  3 characters each, in order: left, right, bottom, top
I  ,I  ,E  ,t  ,I  ,I     T bc's  !      You must have 2 spaces!!

fluid.box

ray0.rea
3        spatial dimension
2        number of fields
#========================================================
#
#    Example of 3D  .box file for fluid. This gives 2 x 1 x 1
#    box with 20 x 10 elements
#
#    If nelx (y or z) < 0, then genbox automatically generates the
#    grid spacing in the x (y or z) direction
#    with a geometric ratio given by "ratio".
#    ( ratio=1 implies uniform spacing )
#
#========================================================
#
Box
-20     -10   -1         nelx,nely,nelz for Box
0.0    2.0   1.0    x0 x1 ratio
0.0    1.0   1.0    y0 y1 ratio
0.0    1.0   1.0    z0 z1 ratio
W  ,W  ,W  ,W  ,W  ,W   V bc's  ! NB:  3 characters each !
I  ,I  ,E  ,E  ,E  ,E   T bc's  !      You must have 2 spaces!

Tutorial for Nek5000 states "If it asks to assign any BCs, something is inconsistent with the box files." which it does:

              *** MIDWAY BREAK MENU ***
ABORT to write build data to file and exit
SET B.C'S to continue
   1 SET BCs                  
   2 ABORT                    
Choose item:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

2 participants