GithubHelp home page GithubHelp logo

Mesh creation errors about cfdof HOT 5 CLOSED

jaheyns avatar jaheyns commented on May 11, 2024
Mesh creation errors

from cfdof.

Comments (5)

oliveroxtoby avatar oliveroxtoby commented on May 11, 2024

It's intended that you should have one mesh for the entire geometry, and then create an 'initialisation zone' to specify the portion initially filled with water. I'll have a look at the compound issue though.

from cfdof.

oliveroxtoby avatar oliveroxtoby commented on May 11, 2024

I'm not able to reproduce the meshing issue, so I would have to ask for more information (please see the readme for bug reporting guidelines).

from cfdof.

tomkcook avatar tomkcook commented on May 11, 2024

Here is the Report View output:

Starting meshing ...

  Part to mesh: Name --> Compound,  Label --> Compound, ShapeType --> Compound
  CharacteristicLengthMax: 690.0
  ElementDimension: 3D
Traceback (most recent call last):
  File "/home/tkcook/.FreeCAD/Mod/CfdOF/_TaskPanelCfdMesh.py", line 252, in writeMesh
    FreeCADGui.doCommand("cart_mesh.get_file_paths(CfdTools.getOutputPath(FreeCAD.ActiveDocument." + self.analysis.Name + "))")
AttributeError: 'NoneType' object has no attribute 'Name'

I've attached an fcstd file that I hope should open in stock FreeCAD that demonstrates the problem.

Here's the version info - note that I've built from source, the version is commit 3132dfbf542ff54af4a6e688422373690d4c57f8:

OS: Ubuntu 18.04.2 LTS (GNOME/gnome-xorg)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17178 (Git)
Build type: Debug
Branch: master
Hash: 3132dfbf542ff54af4a6e688422373690d4c57f8
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)

test.zip

from cfdof.

tomkcook avatar tomkcook commented on May 11, 2024

Never mind, got it. This is a silly bug, not a deep one; you shouldn't enable the 'Create a mesh...' button until an analysis object has been created!

from cfdof.

oliveroxtoby avatar oliveroxtoby commented on May 11, 2024

OK, great. BTW I think this issue (enabling the mesh button without an analysis object) has been taken care of in the latest update.
Thanks for your interest :-)

from cfdof.

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.