Perhaps we can help if you drop here the file that runs the loop to carry out the analysis. We need more info to try to help you.
Dan
---------------------------------------------
Bernard A. and Frances M. Weideman Professor
NVIDIA CUDA Fellow
Department of Mechanical Engineering
Department of Computer Science
University of Wisconsin - Madison
4150ME, 1513 University Avenue
Madison, WI 53706-1572
---------------------------------------------
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/46b75e69-cef3-4c4f-9b00-26603e5bfff7n%40googlegroups.com.
--
This kind of parametric study is much better done by invoking the same executable multiple times with different command line arguments from a batch script.
Just modify the existing demo to read the angular velocity from its arguments (you can use the cxxopts third-party library provided with Chrono for that, although that’s arguably overkill for this simple case) and then write a script that invokes the same executable multiple times.
That way, you
I only skimmed the code you provided in a previous email but spotted an obvious mistake: return is invoked from within the for loop. I doubt that was your intention.
--Radu
From: projec...@googlegroups.com <projec...@googlegroups.com>
On Behalf Of Chiny Lan
Sent: Thursday, April 6, 2023 4:58 AM
To: ProjectChrono <projec...@googlegroups.com>
Subject: Re: [chrono] Simulation with a set of parameters in one program
I want to simulate the wheel test at one slip ratio. After the simulation at this slip ratio done, I want do the wheel test at another slip ratio, that's the angular velocity of wheel should change.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/a6382d94-8f64-4b4f-a9e3-98ab127c66dfn%40googlegroups.com.