Please wait...
×

Error

Posted Tue, 16 Dec 2008 06:50:18 GMT by Jianjun Zhou
Who can help me? ??? ???

I made a program to calculate the head,but it seams that the program didn't work, and I'm not sure that.How can I do?
If I use the following code to show the results:
"static char str[200];

sprintf(str,"h=%e\n",h);
IfmDebug(pDoc,10,str);
"
Where do the results show?

Can the program has subprograms?

alltimes ???
Posted Tue, 16 Dec 2008 16:31:16 GMT by Denim Umeshkumar Anajwala
Output made in IfmDebug will be written to the debug window, which can be opened from the Window enty in the FEFLOW main menu.
The program can have as many functions/classes/etc. as you want to.
Posted Wed, 17 Dec 2008 09:14:20 GMT by Jianjun Zhou
Thank you!
I got it! :)

But now I has another question. when I used the function(IfmGetResultsFlowHeadValueAtXYZ(pDoc,x,y,z,*ine)), how to define the parameter(*ine)?When I define it 0, it showed some mistakes.

And the other API functions also have the same question, I didn't know how to define some parameters, and the software doesn't show the details about them.How can I do?

alltimes.  ???
Posted Mon, 22 Dec 2008 06:23:47 GMT by Denim Umeshkumar Anajwala
You can find a description of all the functions in Appendix B of the IFM part in the FEFLOW help system.
Posted Mon, 29 Dec 2008 09:05:39 GMT by Jianjun Zhou
Thank you for reply!

I had another qustion,and hope you can help me.
When I run feflow coupled with my code ,

for(i=0;i<non;i++)
  IfmSetBcFlowValueAtCurrentTime(pDoc,node[i],H2);

there were many errors like this"W 12/29 17:10:16 C:\Program Files\WASY\FEFLOW 5.3\bin32\feflow.exe[3376]:
Moxing1: SetBcFlowValueAtCurrentTime: At this node no boundary
condition is imposed! Skipped..."
But I defined the boundary type as the first boundary(given the water head),what's wrong with that?and how to modify that?


alltimes
Posted Wed, 15 Jul 2009 03:41:13 GMT by lindapret88

I am not so knowledgeable about this matter. So i have to learn it. Thanks for the post.


[url=http://pret-auto.org][color=#F8F8F8][u]taux pret auto[/u][/color][/url]
Posted Fri, 26 Feb 2010 15:26:47 GMT by Denim Umeshkumar Anajwala
You could try using

IfmSetBcFlowTypeAndValueAtCurrentTime

instead, to make sure you got a BC defined where you try to change the BC value.

Chris

You must be signed in to post in this forum.