Skip to content

Feature/conformal thin panel pec and sgbc - #240

Open
Alberto-o wants to merge 50 commits into
devfrom
feature/conformal_thin_panel_pec
Open

Feature/conformal thin panel pec and sgbc#240
Alberto-o wants to merge 50 commits into
devfrom
feature/conformal_thin_panel_pec

Conversation

@Alberto-o

Copy link
Copy Markdown
Collaborator

No description provided.

@lmdiazangulo lmdiazangulo self-assigned this Aug 11, 2026
- Updated the triangles in conformal.fdtd.json for better clarity and organization.
- Introduced a new input example conformal_cell_label.fdtd.json with a basic cell structure.
- Added another input example mixed_sign_surface_interval.fdtd.json demonstrating a mixed sign surface interval.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This file contains modifications which are quite trivial (spaces between types). I would prefer them to not be here and in case of doubt, adhere to #283

Comment thread src_json_parser/smbjson.F90 Outdated
type(cell_region_t) :: cR
logical :: foundConformalEntry

call this%core%get(je, J_CONF_VOLUME_TRIANGLES, conformalEntry, found=foundConformalEntry)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why are conformal references inside the CELL path? It should be separated from the CONFORMAL label path.

Comment thread src_main_pub/fdetypes.F90

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same as for cell_map.f90. Adhere to style convention if necessary but do not change stylistic stuff unnecesarily.

- Standardized indentation and spacing throughout the file.
- Updated type definitions for clarity, specifically changing `XYZlimit_t_scaled` to `XYZlimit_scaled_t`.
- Ensured consistent use of `intent` attributes in subroutine definitions.
- Improved readability by aligning comments and code blocks.
- Removed unnecessary comments and cleaned up commented-out code sections.
- Adjusted comments for consistency in `conformal_surface_sphere_prepost.py` and `conformal_thin_strip_prepost.py`.
- Removed unnecessary blank lines in JSON configuration files `pw-with-periodic.fdtd.json` and `conformal.fdtd.json`.
- Ensured consistent spacing in material definitions within `conformal.fdtd.json`.
@lmdiazangulo
lmdiazangulo marked this pull request as ready for review August 27, 2026 08:04
@adrianarce-elemwave
adrianarce-elemwave removed their request for review August 28, 2026 07:12

@lmdiazangulo lmdiazangulo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Problems when conformal contain intervals formed by lines.

@lmdiazangulo

Copy link
Copy Markdown
Contributor

Some extra design comments on conformal.

  1. A conformal element may contain intervals as the following:
    • An interval which represents a surface in which the constant coordinate (the normal direction) is a non-zero real number, representing a position between two cell faces.
    • If the interval represents a line all its coordinates must be integers. We do not accept lines which are not aligned with the grid edges.
  2. When a conformal element contains intervals (lines or surfaces) which match grid faces, these are handled as standard PEC regions and are appended there.

- Updated the Solver module to include conformal SGBC state handling.
- Introduced new types and variables for conformal SGBC in the timestepping module.
- Implemented logic for advancing conformal SGBC states during solver iterations.
- Added tests for conformal SGBC functionality, including zero state, layer orientation, geometry winding, and rejection of unsplit geometry.
- Enhanced JSON parser to read conformal SGBC materials and validate their properties.
- Created a sample JSON input file for testing conformal SGBC materials.
- Updated CMake and test files to include new tests and dependencies.
- Removed the predefined excitation file `predefinedExcitation.1.exc`.
- Updated `solenoid.fdtd.json`, `solenoid_45deg_with_conformal.fdtd.json`, and `solenoid_45deg_with_staircased.fdtd.json`:
  - Increased `numberOfSteps` from 26 to 32.
  - Changed terminal name from "terminal_50ohm" to "terminal_25ohm".
  - Adjusted resistance from 50.0 to 25.0 in terminal configurations.
  - Replaced `magnitudeFile` from `predefinedExcitation.1.exc` to `gauss.exc` for the generator source.
@lmdiazangulo lmdiazangulo changed the title Feature/conformal thin panel pec Feature/conformal thin panel pec and sgbc Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants