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

Update the adapter for preCICE v3 and add test cases for Elmer-OpenFOAM coupling #4

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6f211e4
Ported the adapter for elmer from v2 to v3. Added a case to couple El…
tapegoji Jul 1, 2024
af2fe10
Merge pull request #1 from tapegoji/development
tapegoji Jul 1, 2024
f63eb2b
dont add log files
tapegoji Jul 4, 2024
fa917f1
I do not know what I am doing
tapegoji Jul 5, 2024
9d6e295
Remove precice-profiling folders
tapegoji Jul 5, 2024
8633aca
removed precice-profiling folders
tapegoji Jul 5, 2024
6318a36
removed the folders by force
tapegoji Jul 5, 2024
5adcbe3
stripped the tools to what I need.
tapegoji Jul 5, 2024
f1e52f5
Update Flow_Over_Heated_Plate/precice-config.xml
tapegoji Jul 12, 2024
79dc7d3
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
47855c2
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
79da2bf
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
061727b
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
ee66ae3
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
11809b2
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
4596c93
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
a438d35
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
b1dfbb5
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
2af734c
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
6985187
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
93bf0d5
Update Flow_Over_Heated_Plate/Coupler_Solver.F90
tapegoji Jul 12, 2024
a680604
updating gitignore to exclude precice-profiling folder
tapegoji Jul 24, 2024
4b77b1d
don't include mesh files.
tapegoji Jul 24, 2024
eca8c11
applied naming convection change
tapegoji Jul 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ Partitioned_Heat_Conduction/fenics

# ignoring precice run directory
*/precice-run

# ignore log files
*.log
384 changes: 164 additions & 220 deletions Flow_Over_Heated_Plate/Coupler_Solver.F90

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Simulation
Timestep Sizes = 0.1
Solver Input File = case.sif
Post File = Fluid.vtu
Use Mesh Names = Logical True


maskName = String "Coupler Interface"
participantName = String "Fluid"
Expand All @@ -34,8 +36,8 @@ Constants
End

Body 1
Target Bodies(1) = 1
Name = "Body 1"
!Target Bodies(1) = 1
Name = "Fluid"
Equation = 1
Material = 1
Body Force = 1
Expand Down Expand Up @@ -102,6 +104,7 @@ Solver 3
Equation = "flux compute"
Procedure = "FluxSolver" "FluxSolver"
Calculate Flux = Logical True
Calculate Flux Abs= Logical True
Flux Variable = String Temperature
Flux Coefficient = String "Heat Conductivity"
Linear System Solver = "Iterative"
Expand All @@ -115,31 +118,31 @@ End
Solver 4
Equation = "Initialize"
Procedure = "../Coupler_Solver.so" "CouplerSolver"
readDataName = String "temperature flux 2"
readDataName = String "temperature flux_abs"
writeDataName = String "Temperature"
Exec Solver = before all
End

Solver 5
Equation = "ReadData"
Procedure = "../Coupler_Solver.so" "CouplerSolver"
readDataName = String "temperature flux 2"
readDataName = String "temperature flux_abs"
writeDataName = String "Temperature"
Exec Solver = before timestep
End

Solver 6
Equation = "WriteDataAdvance"
Procedure = "../Coupler_Solver.so" "CouplerSolver"
readDataName = String "temperature flux 2"
readDataName = String "temperature flux_abs"
writeDataName = String "Temperature"
Exec Solver = after timestep
End

Solver 7
Equation = "Finalize"
Procedure = "../Coupler_Solver.so" "CouplerSolver"
readDataName = String "temperature flux 2"
readDataName = String "temperature flux_abs"
writeDataName = String "Temperature"
Exec Solver = after all
End
Expand All @@ -156,6 +159,8 @@ Material 1
Heat Capacity = 5000
Viscosity = 0.0002
Density = 0.2
Reference Temperature = 300
Heat Expansion Coefficient = 0.2e-3
End

Body Force 1
Expand All @@ -171,28 +176,28 @@ Initial Condition 1
End

Boundary Condition 1
Target Boundaries(1) = 5
!Target Boundaries(1) = 5
Name = "Fluid_Walls"
Noslip wall BC = True
End

Boundary Condition 2
Target Boundaries(1) = 2
!Target Boundaries(1) = 2
Name = "Inlet"
Velocity 1 = 0.1
Velocity 1 = 1
Temperature = 300
End

Boundary Condition 3
Target Boundaries(1) = 3
!Target Boundaries(1) = 3
Name = "Outlet"
Velocity 2 = 0.0
End

Boundary Condition 4
Target Boundaries(1) = 4
Name = "Coupling_boundary"
!Target Boundaries(1) = 4
Name = "Coupling_Interface"
Noslip wall BC = True
Heat Flux = Equals "temperature flux 2"
Heat Flux = Equals "temperature flux_abs"
Coupler Interface = Logical True
End
Loading