web
You’re offline. This is a read only version of the page.
close
Please wait...
×

Error

  • Re: about the nodes of a boundary.

    My problem has too many nodes on the border,so it has some trouble to set a group Id by hand. So, I try to use the function IfmGetNumberOfBorderNodes and IfmGetBorderNoder.But how to select the border?On the user interface?How to do it?
  • Re: about the nodes of a boundary.


    If I get the numbers of the border by the API function of IfmGetNumberOfBorders,I just can't affirm that the nodes was on the boundary I want concerned.How to confirm this?
  • Re: about the nodes of a boundary.

    someon use the following code  to get the nodes of a boundary:

    for(i=j=0;i<IfmGetNumberOfNodes(pDoc);i++)
        if(IfmIsNodeInGroup(pDoc,i,0))
        node[j++]=i;
        number_of_boundary_nodes=j;

    When using the function of IfmIsNodeInGroup,the group was existing before or created at the time?If it was exist,how to create it and give the number to the group?
  • Re: about the nodes of a boundary.

    Hello Peter,

    Thanks!
    I want to calculate the flow flux of a boundary, and I found that there was a API function like that:IfmGetFlowValueOfGroupIdAtCurrentTime, so I think I would to get the number of nodes for the boundary, and then use the function to calculate the flux.
    Maybe I should use IfmGetNumberofBorderNodes.But how to give the parameter --(int nBorder) of the function?

    Do you know the better method to calculate the flux?

    Best Regards
    alltimes
  • about the nodes of a boundary.

    Hello,
    Can anybody help?

    I want to get the nodes of the special boundary for a flow flux calculaton, but how to get the number of the boundary nodes? If feflow define the boundary  a special number for every boundary nodes? where and which stype are the data of boundary saved? Can I get the nodes of the boundary by the stored data?

    Thanks much!

    alltimes.
  • Re: how to couple own code and Feflow?

    Thank you so much for reply. It's very helpful to me, and then I can do to follow the description to similar with the course. Following this, I'll try to actualize my object.
    Thanks a lot again, you're so kind.


    alltimes
  • Re: how to couple own code and Feflow?

    Thanks perter's help. I do read the programming interface IFM, but some information I didn't understand for I'm not know well for the functions and subprogram's name.

    Do you mind to tell me how to get the data from feflow, just using some functions? Which function I'll use? and then how to return the data to feflow, and which functions I'll use?Is the callback function,for example:void postsimulation(ifmDocument pDoc),a subroutine name or just a function for load the data?

    I'll wish the reply.Thanks.

    alltimes
  • Re: how to couple own code and Feflow?

    complement:
    I wish the kindly one can give me the process in detail, or provide some examples!
    Thanks lot!
  • how to couple own code and Feflow?

    I want to design a program to couple with Feflow ,and each on will loads the other's calculating result to do next work .But I doesn't know how to do.

    Can anybody help me?
    Thanks

    alltimes