Jump to content

Mr. Carsten Fuetterer

Moderators
  • Content Count

    167
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Mr. Carsten Fuetterer


  1. Hi Haipeng,

     

    you have to write a feature inside the project, which writes a file. This can be the code for the feature:

    ffile file(getResultsDir()+"/"+filename)
    if (!file.openWrite())
      echo("Failed to open file \"" + file.getAbsolutePath() + "\" for writing")
      break()
    endif
    
    // use file.write() or file.writeLine() to write to the file.
    
    file.writeLine(""+p:x+"\t"+p:y+"\t"+p:z)
    
    
    //close file when done with it
    file.close()
    
    

    To write this code I simply used the feature templates.

     

    Then in the fsc script you have to write a line:

    exportFile.run()

     

    This will update the feature and trigger the export.

     

    best regards

     

    Carsten

    writeTextFile.fdb


  2. Hi Marta,

     

    attached is an example how you can model the tongue area. Basically we want to trim the volute and the outlet surface in order to have space for a fillet surface. To do this we follow these steps for each part:

     

    1. create intersectioncurve  e.g. volute and offsetsurface of outlet

    post-85-0-64740900-1500285858_thumb.png

    2. modify the domaincurve of the intersectioncurve. create also an offsetcurve of the new domaincurve

    post-85-0-32378200-1500285858_thumb.png

    3. create surfacecurve from new domaincurve and a surfacecurve from the offsetcurve, which will be tangent edge for the fillet surfaces

    post-85-0-10755700-1500285858_thumb.png

    4. create a subsurface from the new surfacecurve

    5. put the subsurface into a brep

    post-85-0-90614900-1500285857_thumb.png

     

    After you did thtis with both parts it should look like this:

    post-85-0-16398500-1500285952_thumb.png

     

    Now you can use the edges and tangent edges to create the fillet surface with a meta surface:

    post-85-0-63353800-1500286120_thumb.png

     

    The final results can look like:

    post-85-0-11722200-1500286151_thumb.png

     

    best regards

     

    Carsten

     

     

     

    volutecompressor_Training.fdb


  3. Hi Lorenz,

     

    this is the typical OpenFOAM version Issue. With each update the control commands change slightly.

     

    But the error message seams clear to me, just write RAS instead of RASModel. You can have also a look into the OpenFOAM tutorials for example the motor bike, to get the correct syntax

     

    best regards

     

    Carsten


  4. Hi Alvaro,

     

    from the standard openFoam format we get currently only the volume mesh. To visualize for example the propeller surface, you can use a work around: Create an iso surface, with the velocity of near zero. on this surface you could create an contour plot with pressure for example.

     

    The other way would be to export an extra VTK file with the openFoam utility "foamToVTK". With that you wil get a vtk file for each patch and the volume mesh.

     

    best regards

     

    Carsten


  5. Hi Zheng,

     

    nice project. The idea how you create the intersection curve with the feature is good, but leads to problems. Since the speed of the parametrisation of the volute surface changes in the middle, because you have a polycurve in your crosssection definition, you would have to create much more points in the domain, to approximate the correct domain curve. It is much easier, when you create an intersection curve and then get the domain curve from this withe the command .getdomaincurve().

    Also you can create two offsetsurfaces, to get the offset domain curves. Attached is an example how you can do this.

     

    After you have modified the domain curves to your needs and created a nice surfacecurve, you can also use this surfacecurves as rail curves in your metasurface. This will make sure, that the metasurface exactly matches this surfacecurves.

     

    If you have further questions let me know.

     

    best regards

     

    Carsten

     

    volute_new_cf.fdbc

    post-85-0-17539800-1483433013_thumb.png


  6. Hello Zachary,

     

    thanks for you interest in CAESES. As you said propeller modeling in CAESES is really convenient. You can easily access a propeller model from the samples included in CAESES and adjust it to your needs. But if you want to dive deeply into CAESES to create your custom propeller I would suggest that you start with some basic tutorials first, which gives you a general understanding of CAESES.

     

    I would recommend the following tutorials:

    • Graphical User Interface
    • First Modeling Steps
    • Content of General Modeling - Introduction
    • Content of Features - Introduction
    • Content of Meta Surface - Introduction
    • Content of Blade Design - Generic Blade

    If you understood all these, you should be able to create your own propeller.

     

    Otherwise we can also model a propeller for you for some budget.

     

    If you have any questions, let us know.

     

    best regards

     

    Carsten


  7. Hi Bodo,

     

    yes, this functionality is right now just implemented for both sides true and used for impeller design. I have to ask our developers if it will be available in future releases for any offset curve type.

    In the meantime, you have to create to create a feature, which creates points which are normal to the surface on a surfacecurve and interpolate them. As a start you can use the feature curve normal point.

     

    best regards

     

    Carsten

×
×
  • Create New...