Body

Is there a way to find out why to facets from two different structures are not linking?

I have two facets, which I was sure met all the requirements on the superstructure documentation page, but when I try to link one to an other in the "link to" field under "Advanced Facet Parameters", the field changes from a number to "no" after I click "Apply".

They are the same shape because I created one of them using the "Create Two Facets' - Intersection" command, and they're in the same position for the same reason.  All the other requirements were easy to check: one-sided, transparent, structure ownership, and normal direction.  They all seem correct.  

Also the two structures were created by inserting separate geometries into new structures.

Submitted by Marton Ady 6 years ago

Hello Matthew. Structures are numbered from 1 (not from 0), as 0 is reserved for the "not a link" option (and as such, when you type 0 to the "Link to" field, it changes to "no"). If you enter any other number and it changes to "no", than it's a bug, so let me know.

I'm currently checking the "Insert geometry to new structure" command - I have the impression that in some cases it might insert the new geometry to the same structure, not a new one. Until I figure it out, make sure that the second part of the geometry is well in the second structure, i.e. all of the facets have "2" as structure number.

If it still doesn't work, you can upload the file here in the comments (if it's confidential, strip down the geometry to only contain the problematic link part), and I'll have a look!

Submitted by Marton Ady 6 years ago

Dear Matthew,

Indeed there was a bug: when inserting XML or ZIP geometries, they were always pasted in the current structure.

I've now uploaded Molflow 2.6.44 which fixes this.

Let me know if you still have trouble setting up the link.

Marton

Submitted by 4c0194b38153e9b009ea 6 years ago

Marton, thanks for the fast reply.

The bug does not seem to be the source of my problem since my structures are correctly numbered.  The view structure option and selecting and looking at the advanced options both confirm this.

I’ve uploaded the file I’m working on.  The structures I’m trying to link are 1 and 3.  Structure 2 was the uploaded 2nd structure and structure 3 is a copy of 2, which I rotated and moved to the other side of 1.  I was going to link structures 1 and 2 after I linked 3.  The facets I’m trying to link are 749 and 869.  Facets 869 and 870 were made with “Create two facets’” command, and the original facet at the end of structure 1 was deleted.  I’ve done a lot of fiddling with structures 3 and 1 on that side of the geometry trying to link them so hopefully I didn’t create any new problems.

EBIS gas pulse.zip

Submitted by Marton Ady 6 years ago

I don't see any problems with the attached file, except that the links need to be set up:

  • I selected facet 749, which is in structure 3, and changed the Link To field from "no" (as in your file) to 1 (so it links to structure 1)
  • Then I selected facet 869, which is in structure 1, and changed the Link To from "no" to 3

The simulation then ran fine, with hits on all facets, which proves that the link works between the structures (otherwise we'd only have hits in structure 1 where the desorbing facet 101 is located).

 In the screenshot below, we can even see blue dots representing structure change:

2017-03-29 09_42_12-Molflow+ 2.6.45 64-bit (Mar 29 2017) [EBIS gas pulse.zip].png
(Click for large image)

I've used the latest version, 2.6.44. I didn't experience the "Link To" field switching back to "no".

Important: after making changes in the Link To field, are you pressing Enter or the Apply button on the right side (and NOT the Quick Apply button which changes only the view settings)?

In any case I upload my modified geometry.

EBIS gas pulse Marton.zip

Submitted by 4c0194b38153e9b009ea 6 years ago

Well now that I've read your response, my mistake is painfully obvious.  I was typing the facet number I wanted to link at into the "Link to" field instead of the structure number.  I reread the documentation and this was clear.  I should have read it more closely.  Thanks for the help.

Submitted by Marton Ady 6 years ago

Well, it wasn't that obvious if you've spent so much time figuring it out: I've changed the code a bit: in the next version, when entering a link target structure that doesn't exist, instead of changing back to "no", you'll get an "invalid destination" error message.

Also, thanks to you I've discovered the "insert to new structure" bug, so your feedback is really appreciated!