MultiStage Dependent or Independent Simulations using *CASE

A powerful feature of LS-DYNA v970 and beyond that has yet to gain widespread popularity is the *CASE keyword. Here are two examples to highlight the use of *CASE.

Sequential and Independent Simulations
Ex: Head Impact (FMVSS 201)

*keyword
$
$ Impact 1
$
*case_begin_1
*title
position 1 impact
*include
vehicle_model.i
*include
head_position_1.i
*case_end_1
$
$ Impact 2
$
*case_begin_2
*title
position 2 impact
*include
vehicle_model.i
*include
head_position_2.i
*case_end_2
$
$ ....
*end
Sequential and Dependent Simulations
Ex: Cumulative Bumper Damage

*keyword
$
$ Impact 1
$
*case_begin_1
*title
position 1 impact
*include
vehicle_model.i
*include
impactor_position.i
*case_end_1
$
$ Impact 2
$
*case_begin_2
r=1.d3dump01
*title
position 2 impact
*include
vehicle_model.i
*include
impactor_position_2.i
*case_end_2
$
$ ....
*end

11 Responses to “MultiStage Dependent or Independent Simulations using *CASE”


  1. 1 Amir Mar 12th, 2007 at 4:35 am

    Hi Suri,

    am I right?

    -every KEYWORD defined outside the *CASE cards are global and are active during the total simulation time

    and

    -every KEYWORD inside is only gilty for the sequence between *CASE_N begin and *CASE_N end like *LOAD_, CONSTRAINT, *MAT_, …

    Regards
    Amir

  2. 2 Suri Bala Mar 12th, 2007 at 8:02 am

    Hi Amir,

    Yes.

    Regards,
    Suri Bala

  3. 3 Nihar Mar 12th, 2007 at 8:53 pm

    Hi Suri,

    This is really helpful in Headrest performance test on Seat.

    How can we define a multistage loading in the same direction incase of Implicit. Many times a single step loading creates convergence problem.
    e.g.
    Case -1 : Loading 0 - 100N
    Case - 2 : Loading 100 - 200 N and so on,
    by this we can slow down the rate of loading at particular level where there is a chance of convergence ( change the slope of loading curve )

    Is this possible with *CASE ?

    Thanks
    Nihar

  4. 4 Suri Bala Mar 20th, 2007 at 1:35 pm

    Hi Nihar,

    To improve convergence, I would suggest breaking down the step size at the point of difficulty or to switch to Explicit for a short number of cycles. You can view the post on automatic time step control for implicit calculations for more information.

    CASE may also be applied but may not be necessary since the load as you described can be achieved within a single definition of a load curve.

    Hope this helps.

    Suri

  5. 5 Tiru Mar 21st, 2007 at 4:53 am

    Hi,
    I am trying to use case command with different termination times and different control conditions for different cases for a single model. I am not able to solve using *CASE keyword. I am getting an error as ” can find neither internal nor external lscasedriver program”. Can some one help in this regard.
    Regards,
    -Tirumala.

  6. 6 Suri Bala Mar 21st, 2007 at 9:06 am

    Tiru,

    Hopefully you are using 971 as some 970 executables may not have the necessary driver. If you are using 971, I would contact your local distributer to get the appropriate version which has the necessary driver.

    The case driver is the heart of this feature which is either embedded inside the code or works as an external program which should be available under /usr/bin/ or /usr/lstc directory.

    Suri

  7. 7 Nihar Mar 25th, 2007 at 8:49 am

    Hi Suri,

    I am also getting a message that either Internal or external lscasedriver program.
    I am running Dyna 971 7600.398 on PC, I checked and could find lscasedriver.exe file along with Dyna executable.

    How can I run, Do I have to set some Env. variable ?

    Thanks.
    Nihar

  8. 8 Suri Bala Mar 29th, 2007 at 9:30 am

    Hi Nihar,

    If you already have the executable, perhaps you can place it under /usr/bin/ and also at /usr/lstc directory. I am not sure of any environment variable that can be set to indicate LS-DYNA where to look for the driver executable.

    Suri

  9. 9 Ranjith Apr 12th, 2007 at 3:54 am

    dear suri,

    i have never tried this feature
    but the first doubt coming to my mind is how dyna will be writing out the ascii and binary databases for the two cases in a Sequential and Independent Simulations ? sequentially ? like for the first case d3plot t0 d3plot12 and for the second case d3plot13 to d3plot 25. how about ascii files?
    hope my question makes sense

    thnks
    ranjith

  10. 10 Suri Bala Apr 14th, 2007 at 12:34 pm

    Ranjith,

    It would be based on the ID specified in the *CASE keyword. Ex. 1.d3plot, 2.d3plot, 1.glstat, 2.glstat, where 1 and 2 are the case ids.

    Suri

  11. 11 Nihar Apr 18th, 2007 at 9:57 pm

    Hi Tiru,

    To get rid of � can find neither internal nor external lscasedriver program�. Error Do the following, ( On Windows PC )

    1) Create a directory with same name of your Dyna executable, i.e. ls971_7600_d_xxx in the same Directory of Dyna executables files are there.

    2) Copy lscasedriver.exe in the newly created directory
    3) Run your simulation through DOS Windows.

    I was also facing the same problem, and with the above mentioned steps I could solve a problem using *CASE.

    Regards,
    Nihar

Leave a Reply