Debug: Database connection successful OpenFOAM (Page 5) / Science, Technology, and Astronomy / New Mars Forums

New Mars Forums

Official discussion forum of The Mars Society and MarsNews.com

You are not logged in.

Announcement

Announcement: This forum is accepting new registrations via email. Please see Recruiting Topic for additional information. Write newmarsmember[at_symbol]gmail.com.

#101 Today 09:26:50

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 22,562

Re: OpenFOAM

ChatGPT5 and I have agreed to fall back to Version 122.  We are resuming work with the new Version 126.

The versions 123, 124 and 125 gave ChatGPT5 the opportunity to try to create a "fixit" patch to the existing program. Unfortunately, each attempt only made things worse.  In response, we developed a new utility program.  I led the initiative, and ChatGPT5 did the work, until the program appears to be working. Here is output that (we think) describes the new cell #13875 that sits on top of cell #0 of the old mesh. I have physical models of both cells, so I can rotate them and line them up with each other.  The points at the corners of the faces line up (to the extent I've checked them) so I think the physical model is probably correct.

python3 probe_facesV06.py --cell 13875

cell 13875: six faces (X-/X+/Y-/Y+/Z-/Z+)
Face X-  id=55816  kind=boundary
  patch=frontAndBackPlanes
  file=faces  line0=55835  line1=55836
  owner=13875  neighbour=None
  owned-by-cell=yes
  center=(-0.650, 0.192, 0.000)
  bbox.x=[-0.650, -0.650]
  bbox.y=[0.184, 0.200]
  bbox.z=[-0.063, 0.063]
  points:
    p28428: (-0.650, 0.184, 0.063)
    p28430: (-0.650, 0.200, 0.063)
    p28431: (-0.650, 0.200, -0.063)
    p28429: (-0.650, 0.184, -0.063)
Face X+  id=27460  kind=internal
  patch=internal
  file=faces  line0=27479  line1=27480
  owner=0  neighbour=13875
  owned-by-cell=no
  center=(-0.400, 0.192, 0.000)
  bbox.x=[-0.400, -0.400]
  bbox.y=[0.184, 0.200]
  bbox.z=[-0.063, 0.063]
  points:
    p14117: (-0.400, 0.184, 0.063)
    p13563: (-0.400, 0.200, 0.063)
    p27753: (-0.400, 0.200, -0.063)
    p28307: (-0.400, 0.184, -0.063)
Face Y-  id=55814  kind=boundary
  patch=frontAndBackPlanes
  file=faces  line0=55833  line1=55834
  owner=13875  neighbour=None
  owned-by-cell=yes
  center=(-0.525, 0.184, 0.000)
  bbox.x=[-0.650, -0.400]
  bbox.y=[0.184, 0.184]
  bbox.z=[-0.063, 0.063]
  points:
    p14117: (-0.400, 0.184, 0.063)
    p28307: (-0.400, 0.184, -0.063)
    p28429: (-0.650, 0.184, -0.063)
    p28428: (-0.650, 0.184, 0.063)
Face Y+  id=55815  kind=boundary
  patch=frontAndBackPlanes
  file=faces  line0=55834  line1=55835
  owner=13875  neighbour=None
  owned-by-cell=yes
  center=(-0.525, 0.200, 0.000)
  bbox.x=[-0.650, -0.400]
  bbox.y=[0.200, 0.200]
  bbox.z=[-0.063, 0.063]
  points:
    p28431: (-0.650, 0.200, -0.063)
    p28430: (-0.650, 0.200, 0.063)
    p13563: (-0.400, 0.200, 0.063)
    p27753: (-0.400, 0.200, -0.063)
Face Z-  id=55818  kind=boundary
  patch=frontAndBackPlanes
  file=faces  line0=55837  line1=55838
  owner=13875  neighbour=None
  owned-by-cell=yes
  center=(-0.525, 0.192, -0.063)
  bbox.x=[-0.650, -0.400]
  bbox.y=[0.184, 0.200]
  bbox.z=[-0.063, -0.063]
  points:
    p28429: (-0.650, 0.184, -0.063)
    p28431: (-0.650, 0.200, -0.063)
    p27753: (-0.400, 0.200, -0.063)
    p28307: (-0.400, 0.184, -0.063)
Face Z+  id=55817  kind=boundary
  patch=frontAndBackPlanes
  file=faces  line0=55836  line1=55837
  owner=13875  neighbour=None
  owned-by-cell=yes
  center=(-0.525, 0.192, 0.063)
  bbox.x=[-0.650, -0.400]
  bbox.y=[0.184, 0.200]
  bbox.z=[0.063, 0.063]
  points:
    p28430: (-0.650, 0.200, 0.063)
    p28428: (-0.650, 0.184, 0.063)
    p14117: (-0.400, 0.184, 0.063)
    p13563: (-0.400, 0.200, 0.063)

(th)

Offline

Like button can go here

Board footer

Powered by FluxBB