Reading modified FRD-Files into Mecway models

Hi Victor, hi all!

I am trying to find out how a *.frd file can be read by Mecway. In detail my idea is to generate a mesh in Mecway and export it as *.INP. This file I want to read in an external program that will do some calculations and should safe the results in an appropriate *.FRD file. The result values will be magnetic flux values Bx,By,Bz for each node.
These shoul be considered as a kind of "displacement values" that will be loaded into Mecway and could visualised as colored contur plot.

I hope my idea isn't not to cracy... :-)

What I tried was
a) writing an FRD-file using the format specifications from the cgx-manual and to load it in Mecway. Without success. I didn't got error messages. I saw nothing... Therefor I did the following:
b) I tried a test file (attached) in Mecway and solved it with cxx. Mecway generated an result (and i assume the result is read from the generated FRD.) All was fine! Displacements and others are shown.
c) Then I deleted the solution in Mecway and thought I could reload the results by importing the FRD again using the "Menue --> File --> Import" function. But this failed.

My question is how the "Menue --> File --> Import" functionallity (for *.frd) has be used.

I hope you or others can give some advice how to proceed.
Are there other hints or recommendations how to deal with FRD-files.

Thank you in advance.

Comments

  • File -> Import generally doesn't import solutions. A workaround is to use File -> Open to open the .frd file then Import to import the model again.

    You might also tell Mecway that your program is CCX (Tools -> Options -> CalculiX) so it saves the .inp file, runs your program with the .inp file name on the command line then reads the .frd file afterwards.

    As for how to format the file for Mecway, that's hard to say really. Usually there should be an error message though unless it really thinks it contains no data. Some ideas:
    1. Make sure you can open your .frd file with CGX.
    2. Play spot-the-difference with a CCX-generated .frd file
    3. Send me your .frd file and I should be able to find what it gets stuck on.
  • edited September 2019
    Thank you for your answer.
    The File->Open helped to get all nodes and some elements displayed...
    I will do some more investigations by my own. If I'll stuck I woud come back to you and send an .frd file to you

    I did some tests now and it seems it will work in the way I want.
    Thx Victor for your help
  • Hello again,
    one more question. Is there any way to readjust the length of the arrows wenn dislaying displacements?
  • Currently, the only way is to adjust the range of the color key scale. If you exclude the highest magnitude ones, it lengthens all the others. Use the sliders next to it or select the magnitude from the outline tree then right click a selection and choose Fit contour plot max/min to selection ).
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!