Code Monkey home page Code Monkey logo

Comments (3)

 avatar commented on June 10, 2024

It might be your STL file. I was having trouble with STL files created in different machines (Winodws vs Linux), but I thought I had fixed that.

Can you try running the RM3 example with simu.paraview=1? That one should work. Also can you share an STL file that gives this error?

Thanks,

Carlos

from wec-sim.

MattSharman avatar MattSharman commented on June 10, 2024

Hi Carlos,

Here's a link to the .STL: https://www.dropbox.com/s/47l99pfmu6kq3cp/Float.STL?dl=0

Trying the RM3 i get a little further then get this error message:

Error using fprintf
Invalid file identifier. Use fopen to generate a valid file
identifier.

Error in bodyClass/write_paraview_vtp (line 434)
fprintf(fid, '\n');

Error in wecSim (line 262)
body(ii).write_paraview_vtp(output.bodies(ii).time,
output.bodies(ii).position, bodyname,
simu.simMechanicsFile, datestr(simu.simulationDate),
cellareas, hspressure, wpressurenl, wpressurel);

Many thanks for your help!
Matt

from wec-sim.

 avatar commented on June 10, 2024

Hi Matt,

I cannot open dropbox. Can you also send me that stl file by email? My email is [email protected].

That's weird that the RM3 example is not working. Can you try pulling the latest version of WEC-Sim, and add simu.paraview = 1 to the input file of the RM3 example? Add this line anywhere after the simu variable has been initialized, and don't make any other changes. Once you have that working we can figure out why your specific example isn't working.

from wec-sim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.