Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symmetric oft #149

Open
wants to merge 51 commits into
base: master
Choose a base branch
from
Open

Symmetric oft #149

wants to merge 51 commits into from

Conversation

jeremie-mb
Copy link

Step 1 of temperature implementation.

Added symmetric_aot.[ch] and respective keyword in free_energy.h

Computation of stress is at very early stage and will need to be modified in the future.

Added key to free_energy.h
Added symmetric_aoft.[ch] files
…MMETRIC_OFT)

Initialisation of the temperature field

Changes in existing files:
- ludwig.c (added the initialisation of temperature field and of symmetric_oft free energy)
- physics.[ch] (added lambda and T0 set and get functions)
- gradient_3d_27pt_solid.[ch] (added _oft functions which use symmetric_oft structure instead of symmetric structure)
- gradient_rt.c (added 3d_27pt_solid_oft key which points to the correct structure in gradient_rd_27pt_solid.[ch])
- phi_force_stress.c (switched the computation of the stress to the non-vectorised version)
- symmetric_oft.c (Stress now computes both thermal and chemical components)

New files:
- field_temperature_init.c
- field_temperature_init.h
- field_temperature_init_rt.c
- field_temperature_init_rt.h
- symmetric_oft_rt.c
- symmetric_oft_rt.h
==> Temperature now evolves according to the heat equation.
The functions were adapted from phi_cahn_hilliard.[ch] and so are based
on a Cahn-Hilliard template, they are found in heat_equation.[ch]
==> Temperature undergoes the same treatment as phi in the main code
regarding halos.
==> Temperature can be output (in BINARY only)

Smaller changes/notes:
- Added freq_temperature
- Added drop intialisation
- Added stats for temperature
- No noise for temperature yet
- Added timer for temperature

Reference input file can be found in ludwig/T
@lgtm-com
Copy link

lgtm-com bot commented Nov 16, 2021

This pull request introduces 1 alert when merging 4ebbe3e into 8fb2392 - view on LGTM.com

new alerts:

  • 1 for Comparison result is always the same

-> Colloid temperature can be set
-> Temperature boundary conditions is working
-> test and reference input is in ./tests/temperature
@lgtm-com
Copy link

lgtm-com bot commented Dec 6, 2021

This pull request introduces 1 alert when merging c7cbf1e into 8fb2392 - view on LGTM.com

new alerts:

  • 1 for Comparison result is always the same

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.

None yet

1 participant