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

[GeoMechanicsApplication][Thermal] Write the results of the initial stage to the output file #12379

Closed
mnabideltares opened this issue May 14, 2024 · 2 comments

Comments

@mnabideltares
Copy link
Contributor

mnabideltares commented May 14, 2024

Description

The initial stage is necessary in the output file for visualization alongside the results. This is primarily required by the DSeries Team. However, the initial condition in Kratos cannot be written in the output in its current state.

To generate output, we propose the following ideas:

Use Dt=0 for the first time step. For transient simulations, Dt=0 should not result in any changes to the results. Therefore, the results are expected to be identical to the initial conditions. Subsequently, write the first time step as output. However, this approach has not been tested previously, and we are unsure if it will work correctly. Hopefully, it will not result in division by zero.

Alternatively, start from a negative time step and write the zero time step into the output.

@avdg81 avdg81 changed the title [GeoMechanicsApplication] Write the results of the intial stage to the output file [GeoMechanicsApplication][Thermal] Write the results of the intial stage to the output file May 15, 2024
@mnabideltares mnabideltares changed the title [GeoMechanicsApplication][Thermal] Write the results of the intial stage to the output file [GeoMechanicsApplication][Thermal] Write the results of the initial stage to the output file May 15, 2024
@mnabideltares mnabideltares self-assigned this May 15, 2024
@mnabideltares
Copy link
Contributor Author

@mcgicjn2

It is possible to do it by multistage. At the first stage the parameter and material inputs need to be modified:

ProjectParameters.json

"problem_data": {
    "start_time":           -600.0,
    "end_time":             0,
    ...

"time_stepping":              {
    "time_step":                 600,
    "max_delta_time_factor":       1
    ...

MaterialParameters.json

"Variables": {
    ...
    "SPECIFIC_HEAT_CAPACITY_SOLID"  :  0.0,
    "SPECIFIC_HEAT_CAPACITY_WATER"  :  0.0,
    "THERMAL_CONDUCTIVITY_SOLID_XX" :  0.0,
    "THERMAL_CONDUCTIVITY_SOLID_YY" :  0.0,
    "THERMAL_CONDUCTIVITY_SOLID_XY" :  0.0,
    "THERMAL_CONDUCTIVITY_WATER"    :  0.0
    ...

For reference, attached 2 cases which are taken from the integration tests.

test_thermal_fixed_temperature_2D3N.zip
test_thermal_heat_flux_2D3N.zip

@rfaasse
Copy link
Contributor

rfaasse commented Jun 10, 2024

Workaround was presented to relevant stakeholder, since this is not an official workflow, we don't need to add a test to our suite, so closing this issue.

FYI @mcgicjn2

@rfaasse rfaasse closed this as completed Jun 10, 2024
GeoMechanicsApplication (Deltares) automation moved this from To do to Done Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants