Search found 16 matches

by andrewdnolan
08 Nov 2022, 00:23
Forum: ElmerSolver
Topic: "Timestep Scale" does not accept array
Replies: 8
Views: 619

Re: "Timestep Scale" does not accept array

Everything seems to work as expected.

Thanks for the heads up about this Keyword!

Thanks,
Andrew
by andrewdnolan
07 Nov 2022, 21:05
Forum: ElmerSolver
Topic: "Timestep Scale" does not accept array
Replies: 8
Views: 619

Re: "Timestep Scale" does not accept array

Hi,

Perfect, this is exactly what I was looking for!

I'm going to run some tests right now to confirm everything looks good and will report back.

Thank you!

Andrew
by andrewdnolan
05 Nov 2022, 23:05
Forum: General
Topic: User Function to Define "Timestep Sizes" Array?
Replies: 4
Views: 515

Re: User Function to Define "Timestep Sizes" Array?

Using a restart for each "cycle" is something I've considered, but have tried to avoid. I will be running anywhere between 50 and 200 cycles, so this quickly becomes alot of .sif files and there respective output files. For the sake of minimizing clutter I've defaulted to one sif file for ...
by andrewdnolan
05 Nov 2022, 22:59
Forum: ElmerSolver
Topic: "Timestep Scale" does not accept array
Replies: 8
Views: 619

Re: "Timestep Scale" does not accept array

Hi all, Thanks for the feedback! Kevin: I have explicitly declared the variable type as you suggested, but unfortunately this doesn't seem to fix the problem. Rich: I've attached a minimum working example. All that you should need to do is execute ./run.sh The bash script will compile all the user f...
by andrewdnolan
04 Nov 2022, 21:53
Forum: ElmerSolver
Topic: "Timestep Scale" does not accept array
Replies: 8
Views: 619

"Timestep Scale" does not accept array

I'm using "Exec Interval" to execute certain solvers at different intervals. I'm also using variably sized timesteps by passing arrays to the "Timestep Intervals" and "Timestep Sizes" keywords in the solver section. Per the ElmerSolver manual definition of "Exec In...
by andrewdnolan
04 Nov 2022, 21:12
Forum: General
Topic: User Function to Define "Timestep Sizes" Array?
Replies: 4
Views: 515

Re: User Function to Define "Timestep Sizes" Array?

I've opted to do the array creation in bash script and paste the arrays as string into a template file. This seems to work fine for my purposes. To illustrate, I have a template .sif file where the Simulation section looks something like: Simulation . . . Timestep Intervals(<len>) = Integer <NT_arr>...
by andrewdnolan
01 Nov 2022, 22:48
Forum: General
Topic: User Function to Define "Timestep Sizes" Array?
Replies: 4
Views: 515

User Function to Define "Timestep Sizes" Array?

I'm running a transient simulation where I every M years I drop the slip-coefficient of the Stokes for N years. The timestep I'd like to use for the M years when no sliding occurs is much larger than what is needed for the N years of slip. I'd like to use a user functions (either fortran or lua) to ...
by andrewdnolan
09 Sep 2021, 21:13
Forum: Software development
Topic: Itterating over vertically aligned nodes
Replies: 3
Views: 2666

Re: Itterating over vertically aligned nodes

Hello, I've tried using 409 elements, but unfortunately am running into some problems. The problem seems to be with the mesh extrusion. I've created a ".grd" file that scales a unit square to my domain length, while keeping unit height. Then within a ".sif" file, I use the "...
by andrewdnolan
09 Sep 2021, 02:44
Forum: Software development
Topic: Itterating over vertically aligned nodes
Replies: 3
Views: 2666

Re: Itterating over vertically aligned nodes

Thanks for the timely reply! Using 409 elements sounds like a good option, it would allow us to use second order elements without having to make major changes to our current subroutine. I'll do some tests and report back. In terms of what we are actually doing; at this point looking to set the densi...
by andrewdnolan
08 Sep 2021, 20:54
Forum: Software development
Topic: Itterating over vertically aligned nodes
Replies: 3
Views: 2666

Itterating over vertically aligned nodes

Hello, I'm looking to loop over vertically aligned nodes for a structured quadrilateral mesh within a user defined subroutine. I'm able to do this successfully for a 1st order quadrilateral elements (404) and am interested in the feasibility of doing the same for 2nd order quadrilateral elements (40...