Skip to content

Simplifcations and fixes to the two-scale heat conduction case#859

Merged
MakisH merged 8 commits into
precice:developfrom
IshaanDesai:remove-non-diag-K-tensor-data
Jul 7, 2026
Merged

Simplifcations and fixes to the two-scale heat conduction case#859
MakisH merged 8 commits into
precice:developfrom
IshaanDesai:remove-non-diag-K-tensor-data

Conversation

@IshaanDesai

@IshaanDesai IshaanDesai commented Jul 6, 2026

Copy link
Copy Markdown
Member

This PR does the following:

  1. Removes the data K01 and K10 from the coupling because it is zero. The data is zero because the off-diagonal terms of the upscaled conductivity matrix are zero. This is due to the microstructure's symmetry (circular grains). If, in the future, a non-symmetric microstructure is designed (ellipsoid grains), the data K01 and K10 will need to be added back, as they will no longer be zero.
  2. Update the configuration visualization as the number of coupling data is reduced.
  3. Several fixes in the micro-nutils participant.
  4. Add docstrings to functions in micro-nutils/micro.py to make them understandable.
  5. Change direct-access flag in precice-config.xml to the new api-access flag.
  6. Turn on lazy initialization of the Micro Manager to speed up the tutorial. Lazy initialization means that a micro problem is created only the first time it is active. This speeds up initialization because micro problem objects for inactive problems are not created.

Checklist

  • I added a summary of any user-facing changes (compared to the last release) in the changelog-entries/<PRnumber>.md.

Comment thread two-scale-heat-conduction/micro-nutils/requirements.txt Outdated
@IshaanDesai IshaanDesai marked this pull request as ready for review July 7, 2026 07:53
@IshaanDesai IshaanDesai requested a review from MakisH July 7, 2026 07:53

@MakisH MakisH left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

All very welcome changes! Since you are now cleaning up, two minor points.

Comment thread two-scale-heat-conduction/micro-nutils/micro.py
@MakisH MakisH merged commit 4ededba into precice:develop Jul 7, 2026
1 check passed
@IshaanDesai IshaanDesai deleted the remove-non-diag-K-tensor-data branch July 8, 2026 07:02
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