Skip to content

Shtyrkn/b2ag#23

Open
senichenkov wants to merge 5 commits into
iterorganization:feature/wg-releasefrom
senichenkov:shtyrkn/b2ag
Open

Shtyrkn/b2ag#23
senichenkov wants to merge 5 commits into
iterorganization:feature/wg-releasefrom
senichenkov:shtyrkn/b2ag

Conversation

@senichenkov

Copy link
Copy Markdown
Contributor

Nikita and myself have occasionally found that in some EAST DDN meshes the cuts near the inactive X-point are badly determined, which prevents from a successful mesh generation in b2ag: the error message looked like 'iCv.gt.nCv'.
Here is the Nikita's suggestion to fix it.

@hrdoktorx hrdoktorx left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change in b2us_prep is acceptable. The other is dangerous. Instead consider searching for the place where the physical discontinuity is, i.e. where the cells are no longer neighbours of each other, or where the guard cells are, and use that to determine nxtl and nxtr.

Comment thread src/utility/get_jsep.F
nxtr=nxtr+1
enddo
endif

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I strongly dislike this hack. If there is a fundamental problem that some faces are mislabeled in b2fgmtry, then there should be hard error and the user is meant to fix the problem. Maybe then provide information that also for a manual fix inside the b2fgmtry file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b2ag_EASt.zip.zip

The problem is that it is impossible to create b2fgmtry file without this fix - the example is attached here.
Maybe the user should manually edit *.geo file, however, Nikita haven't found any errors in *.geo, and suggested the fix to b2ag instead.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I said in the general review. You need to propose a better algorithm that this one that will give the wrong values most of the time. b2ag knows the vertex coordinates. Find where they are no longer continuous and assign nxtr and nxtl to that gap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants