FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 FastFieldSolvers
 FasterCap and FastCap2
 Simple 2D Dielectric Question about Xref & Yref
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ricardh

3 Posts

Posted - Feb 02 2022 :  22:37:54  Show Profile  Reply with Quote
Lets say I have a 1x1 square dielectric. The bottom left point is at the origin (0,0). In the top level file I reference this square but offset it to (5,5) like below.

D square.txt 1.0 3.5 5.0 5.0 xref yref

I want the inside of the square to have the dielectric constant of 3.5. Would xref & yref be something like (5.5, 5.5) or (0.5, 0.5) to reference the inside of the square.

Hopefully this is understandable and a simple answer can be given.

Enrico

545 Posts

Posted - Feb 03 2022 :  14:11:38  Show Profile  Reply with Quote
Yes, the question is understandable and the answer is in the FasterCap online help:

quote:
More specifically, the reference point is assumed to lie on the <outperm> side of all the panels in <file>. The optional - argument indicates that (xref, yref, zref) instead lies on the <inperm> side. The reference point is not translated, i.e. the offset only applies to the elements specified in <file>.


Best,
Enrico
Go to Top of Page

ricardh

3 Posts

Posted - Feb 04 2022 :  22:34:47  Show Profile  Reply with Quote
quote:
Originally posted by Enrico

Yes, the question is understandable and the answer is in the FasterCap online help:

quote:
More specifically, the reference point is assumed to lie on the <outperm> side of all the panels in <file>. The optional - argument indicates that (xref, yref, zref) instead lies on the <inperm> side. The reference point is not translated, i.e. the offset only applies to the elements specified in <file>.


Best,
Enrico





Thank you Enrico for the reply.

Yes I've read the online help and read that specific excerpt
as well but I'm too dumb to understand it and it has confused me. So thats why I posted this question. It would help if you could clarify if it is the former or latter xref & yref coordinate pair that would give the correct inside permittivity.
Go to Top of Page

Enrico

545 Posts

Posted - Feb 07 2022 :  23:11:16  Show Profile  Reply with Quote
Sorry if I was not clear enough.

If you have a 1x1 square dielectric and you offset it to (5,5) as per your example:

D square.txt 1.0 3.5 5.0 5.0 xref yref


for (xref, yref) to lie within the square you must specify it as e.g. (5.5, 5.5).

This is what I meant saying that the reference point is not translated / offset.

Hope now is clear!
Cheers,
Enrico


Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
FastFieldSolvers Forum © 2020 FastFieldSolvers S.R.L. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06