|
[Sponsors] |
September 20, 2023, 06:00 |
|
#161 | |
Senior Member
Matthew
Join Date: Mar 2022
Location: United Kingdom
Posts: 184
Rep Power: 4 |
Quote:
|
||
September 21, 2023, 11:12 |
There is something going on at h=1
|
#162 |
Senior Member
Matthew
Join Date: Mar 2022
Location: United Kingdom
Posts: 184
Rep Power: 4 |
As you can see a lot of the issues I've had have gone away after my rather crude fix the issue at h=0 is now working. The issue is now twofold: The value at h=1 seems to be erratic. I use a stress-free condition at h=1, but there still seems to be a spike.
The other issue is about parametrisation. |
|
September 21, 2023, 12:20 |
|
#163 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
How do you introduce the Neumann BC into the scheme?
|
|
September 21, 2023, 12:26 |
|
#164 |
Senior Member
Matthew
Join Date: Mar 2022
Location: United Kingdom
Posts: 184
Rep Power: 4 |
||
September 21, 2023, 12:39 |
|
#165 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
||
September 21, 2023, 13:27 |
|
#166 | |
Senior Member
Matthew
Join Date: Mar 2022
Location: United Kingdom
Posts: 184
Rep Power: 4 |
Quote:
This is graph is for the edges, rather than the cells. I used interp1 in Matlab to obtain the values, and I got a NaN at h=0 for some reason. |
||
September 28, 2023, 12:53 |
Most of the problems sorted
|
#167 |
Senior Member
Matthew
Join Date: Mar 2022
Location: United Kingdom
Posts: 184
Rep Power: 4 |
I have the majority of the problems sorted but one issue I think is the length of the rod in question. The way I calculate it is by using the mass in each cell as being constant. and if dh represents the mass of a typical cell, then I use:
where dX represents the new length after compression. The new cell locations are then given as Code:
X=[0 cumsum(dX)] As you can see, it hasn't gone down much and I wondered if this was the code or just a poor choice of parameters. |
|
Tags |
finite volume method |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiphaseEulerFoam FOAM FATAL IO ERROR | qutadah.r | OpenFOAM Running, Solving & CFD | 11 | December 10, 2021 21:18 |
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? | EternalSeekerX | SU2 | 3 | October 9, 2020 19:28 |
Problem of simulating of small droplet with radius of 2mm | liguifan | OpenFOAM Running, Solving & CFD | 5 | June 3, 2014 03:53 |
Gradient evaluation in Finite Volume Methods | yidongxia | Main CFD Forum | 7 | August 6, 2012 11:23 |
Unstructured grid finite volume methods | Marcus | Main CFD Forum | 3 | December 5, 2000 01:25 |