Hi Dan and Nnamdi,

To add up, since the FSI and VSG support is not yet merged into the main branch, if you want to use the PyChrono with FSI / VSG to simulate granular terrain in addition to DEME, you need to use our special FSI version rather than the regular version I posted in previous email. The special FSI version can be installed via the following command in a NEW environment:

conda create -n chrono_test "python<3.13" -c conda-forge
conda install bochengzou::pychrono -c bochengzou -c nvidia -c dlr-sc -c conda-forge

Best,

Bocheng


On 8/4/25 18:24, 'Dan Negrut' via ProjectChrono wrote:

That functionality for running granular problems from python: see pyDEME, https://github.com/projectchrono/DEM-Engine <https://urldefense.com/v3/__https://github.com/projectchrono/DEM-Engine__;!!Mak6IKo!PkKSZCuBiSh-FgdG1GZVwOgPEWrn62SHqzHo482EL_A5V21Isb_oAn9S5AMaFqcONBr_5uh8rK27fuyFYz0y7JL9Uuc2CA$>.

We’ll probably have one integrated way to install everything (chrono & DEM support) coming up in the very near future – next three months, most likely. That’ll be through conda forge, a one line command, hopefully.

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

608 772 0914

http://sbel.wisc.edu/ <http://sbel.wisc.edu/>

http://projectchrono.org/ <https://urldefense.com/v3/__http://projectchrono.org/__;!!Mak6IKo!PkKSZCuBiSh-FgdG1GZVwOgPEWrn62SHqzHo482EL_A5V21Isb_oAn9S5AMaFqcONBr_5uh8rK27fuyFYz0y7JLqDzYZVw$>

---------------------------------------------

*From:*'Nnamdi Chikere' via ProjectChrono <projectchrono@googlegroups.com>
*Sent:* Monday, August 4, 2025 1:14 PM
*To:* ProjectChrono <projectchrono@googlegroups.com>
*Subject:* Re: [chrono] SDL2 Library Error while running PyChrono

Thank you very much. Adding the "/" character resolved the issue. Does this version include the capability to simulate granular systems on Windows using Python?

Best regards,

Nnamdi

On Monday, August 4, 2025 at 2:07:48 PM UTC-4 bzo...@wisc.edu wrote:

    Hi Nnamdi,

    Thank you for the follow up. Yes, on Apr 27, 2025, we renamed
    SetPlane to SetReferenceFrame. The details can be found at
    
https://github.com/projectchrono/chrono/commit/59e3cb4ba24dbb258aa1543a971507a7d0bf2689
    
<https://urldefense.com/v3/__https:/github.com/projectchrono/chrono/commit/59e3cb4ba24dbb258aa1543a971507a7d0bf2689__;!!Mak6IKo!NTQLCak0Iwl-Hfht85Jhg4qWkG-A7VWM6pEEbrx0f8_cvW7ySAQlRFoQ1N0NTjfNyeBXHkTouURQJFrnTRiy0LLg6XM$>

    For the "Cannot open colormap data file
    
C:/Users/chike/Box/TurtleRobotExperiments/Sea_Turtle_Robot_AI_Powered_Simulations_Project/NnamdiFiles/mujocotest1/chrono/data../data/colormaps/jet-table-float-0512.csv"
    issue, did you put a "/" character at the end of your
    "chrono.SetChronoDataPath()" call? For example, you need to use
    
chrono.SetChronoDataPath("C:/Users/chike/Box/TurtleRobotExperiments/Sea_Turtle_Robot_AI_Powered_Simulations_Project/NnamdiFiles/mujocotest1/chrono/data/")
    instead
    of 
chrono.SetChronoDataPath("C:/Users/chike/Box/TurtleRobotExperiments/Sea_Turtle_Robot_AI_Powered_Simulations_Project/NnamdiFiles/mujocotest1/chrono/data")

    Once you applied that fix, could you please update on if the
    window crash issue gets resolved?

    Thank you very much!

    Best,

    Bocheng Zou

    On 8/4/25 17:58, 'Nnamdi Chikere' via ProjectChrono wrote:

        Hi Bocheng,

        It now works, but it broke certain parts of my code. Seems
        some of the API and syntax have changed in this version. I
        noticed changes in the SCM

        terrain =veh.SCMTerrain(sys)

        /# rotate plane/

        terrain.SetReferenceFrame(chrono.ChCoordsysd(

            chrono.ChVector3d(0, scm_plane_y, 0),

            chrono.QuatFromAngleX(-math.pi /2)

        ))

        /# Previous version used:/

        terrain.SetPlane(chrono.ChCoordsysd(

            chrono.ChVector3d(0, scm_plane_y, 0),

            chrono.QuatFromAngleX(-math.pi /2))

        )

        Upon updating to the new version, I am now faced with a new
        error when running the deformable soil ...

        Cannot open colormap data file
        
C:/Users/chike/Box/TurtleRobotExperiments/Sea_Turtle_Robot_AI_Powered_Simulations_Project/NnamdiFiles/mujocotest1/chrono/data../data/colormaps/jet-table-float-0512.csv
        I have the data path correctly specified at the top of my code
        using the chrono.SetChronoDataPath()

        And upon contact with the ground, the window crashes. Do you
        happen to have any fixes for this? Also, are there any other
        changes to the syntax?

        Best regards,

        Nnamdi

        On Friday, August 1, 2025 at 10:17:21 PM UTC-4 bzo...@wisc.edu
        wrote:

            Hi Nnamdi,

            I hope you're doing well.

            We're excited to share that we've refactored the Conda
            build pipeline and released updated distributions of
            PyChrono with improved cross-platform compatibility, which
            is likely to resolve the issue you encountered.

            To try out the latest release, please create a new
            environment and run the following commands (note that the
            installation command on the website is now oudated):

            conda create -n chrono_test python=3.12 -c conda-forge

            conda install pychrono -c projectchrono -c dlr-sc -c
            conda-forge

            Please let us know if there are any remaining issues.

            Best,

            Bocheng Zou

            On 7/31/25 00:48, Bocheng Zou wrote:

                Hi Nnamdi,

                Thank you for providing the information. The Windows
                conda build for PyChrono is having know issues
                recently. We are aware of that and it's expected to be
                fixed within the week. If you are in urgent need of
                PyChrono, I suggest you build from scratch using cmake
                (Method A) or use PyChrono's conda distribution on Linux.

                I will keep you posted once the issue in the Windows
                conda distribution is fixed.

                Best,

                Bocheng Zou

                On 7/31/25 00:45, 'Nnamdi Chikere' via ProjectChrono
                wrote:

                    Hello Bocheng,

                    Thank you for reply.

                    I installed PyChrono via method C. PyChrono
                    through Conda (ref:
                    https://api.projectchrono.org/pychrono_installation.html
                    
<https://urldefense.com/v3/__https:/api.projectchrono.org/pychrono_installation.html__;!!Mak6IKo!MLRxot5akRpE7PKpP5V6eTs6EVAmfOwIgWN8nnv81XgdLQUax6qVtwZPINjM2zrnQxAA_GMxqAg8ScgcDXtHvaj1guZPig$>)

                    For the last step I installed via conda install
                    pychrono-9.0.1-py310_5372.tar.bz2

                    Best regards,

                    Nnamdi

                    On Wednesday, July 30, 2025 at 12:18:25 PM UTC-4
                    bzo...@wisc.edu wrote:

                        Hi Nnamdi,

                        Thank you for reaching out. I'm Bocheng and
                        I'm a UW-Madison student responsible for
                        PyChrono distributions. Could you please
                        clarify the specific way you install the
                        PyChrono? We currently support three ways of
                        installation on Windows.

                        A. Build from scratch using cmake (ref:
                        
https://api.projectchrono.org/tutorial_install_chrono.html
                        
<https://urldefense.com/v3/__https:/api.projectchrono.org/tutorial_install_chrono.html__;!!Mak6IKo!MLRxot5akRpE7PKpP5V6eTs6EVAmfOwIgWN8nnv81XgdLQUax6qVtwZPINjM2zrnQxAA_GMxqAg8ScgcDXtHvahYwqyiWQ$>)

                        B. Precompiled binaries for Windows (ref:
                        https://projectchrono.org/download/
                        
<https://urldefense.com/v3/__https:/projectchrono.org/download/__;!!Mak6IKo!MLRxot5akRpE7PKpP5V6eTs6EVAmfOwIgWN8nnv81XgdLQUax6qVtwZPINjM2zrnQxAA_GMxqAg8ScgcDXtHvahDjDCVhA$>)

                        C. PyChrono through Conda (ref:
                        https://api.projectchrono.org/pychrono_installation.html
                        
<https://urldefense.com/v3/__https:/api.projectchrono.org/pychrono_installation.html__;!!Mak6IKo!MLRxot5akRpE7PKpP5V6eTs6EVAmfOwIgWN8nnv81XgdLQUax6qVtwZPINjM2zrnQxAA_GMxqAg8ScgcDXtHvaj1guZPig$>)

                        Could you please specify the way you install
                        the chrono? This will be helpful for us to
                        investigate the issue further.

                        Best,

                        Bocheng Zou

                        On 7/28/25 21:22, 'Nnamdi Chikere' via
                        ProjectChrono wrote:

                            Hello,

                            I have recently been faced with an error
                            whenever I try to run any Python programs
                            in PyChrono. Has anyone encountered this
                            before? I use Visual Studio Code and
                            Pychrono 9.0.1 on a Windows PC. I followed
                            all the steps for installing Pychrono in a
                            virtual environment. I have tried
                            uninstalling and reinstalling, but it
                            hasn't helped. Everything worked fine in
                            the same env, this error just appeared
                            suddenly. Please, I would like some advice
                            on this.

                            Best regards

                            --
                            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 visit
                            
https://groups.google.com/d/msgid/projectchrono/1f41206d-20f1-48dd-bd2e-73c48d2665fbn%40googlegroups.com
                            
<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/1f41206d-20f1-48dd-bd2e-73c48d2665fbn*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!J5kXNaPEjXw_OFyqXzUyRfxbYeeLeX3B6PUJwtVXHkPAWJRTx8v6iqVLxYyv7WFxY5Kc7ZNgBvU-1EVwmWr-lIlB3LWUZw$>.

                    --
                    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 visit
                    
https://groups.google.com/d/msgid/projectchrono/8b5c5803-6308-461f-a84b-24188f960344n%40googlegroups.com
                    
<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/8b5c5803-6308-461f-a84b-24188f960344n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!MLRxot5akRpE7PKpP5V6eTs6EVAmfOwIgWN8nnv81XgdLQUax6qVtwZPINjM2zrnQxAA_GMxqAg8ScgcDXtHvaghyluLsg$>.

-- 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 visit
        
https://groups.google.com/d/msgid/projectchrono/75f5b824-28fe-44ae-95eb-8d765a9262d0n%40googlegroups.com
        
<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/75f5b824-28fe-44ae-95eb-8d765a9262d0n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!IRf7felC0zthyzFHiWt0Ao1tNXGtN4de2KoYPYzS_GKYjI14ZpqR7hrjIDLet90eR9_pbikVqkrEHniADSvqg078c5z7OQ$>.

--
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 projectchrono+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/projectchrono/49716d7c-be19-4618-9045-c70c9a52487cn%40googlegroups.com <https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/49716d7c-be19-4618-9045-c70c9a52487cn*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!NTQLCak0Iwl-Hfht85Jhg4qWkG-A7VWM6pEEbrx0f8_cvW7ySAQlRFoQ1N0NTjfNyeBXHkTouURQJFrnTRiyS8Y4SOY$>.

--
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 projectchrono+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/projectchrono/DM8PR06MB7703828DACB191C6919A9F5CB123A%40DM8PR06MB7703.namprd06.prod.outlook.com <https://urldefense.com/v3/__https://groups.google.com/d/msgid/projectchrono/DM8PR06MB7703828DACB191C6919A9F5CB123A*40DM8PR06MB7703.namprd06.prod.outlook.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!PkKSZCuBiSh-FgdG1GZVwOgPEWrn62SHqzHo482EL_A5V21Isb_oAn9S5AMaFqcONBr_5uh8rK27fuyFYz0y7JKMawPNlQ$>.

--
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 projectchrono+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/d9ab28f0-00d7-4b94-87cf-b1da1aa059f1%40wisc.edu.

Reply via email to