help needed in codedSource
HI all,
Objective of my work is to replace the effusion holes with source and sink terms (mass, momentum and energy). For this I found out "codedSource" fvOptions is the best way. I need help in calculating MFR at sink location and apply the same in source and sink locations. https://www.cfd-online.com/Forums/at...odedsource.png Code:
massSourceEffusionHole I need help in applying the MFR calculated at "sink" location to "source" location i.e. (0.0385 0.0365 0.0) FYI sink location (0.035 0.034 0.0) source location (0.0385 0.0365 0.0) Thanks KGN |
http://www.cfd-online.com/Forums/ope...at-source.html
Does that maybe help? I dont know at which point exactly your problem is. Is the problem to find the right cells at those locations? Then you can use some of the code I posted. |
Thanks for the reply. I actually referred your post.
Let me explain my problem in detail. Objective of my work is to replace small diameter pipe (dia <0.5 mm) with source and sink terms i.e. inlet of the pipe will be sink and outlet of the pipe is source. I have to use pressure drop across the pipe to calculate the mass flow rate; for this i need to get pressure at inlet and exit of the pipe.
Code:
codeAddSup hope this explains my problem |
Maybe you better use two new boundary patches and there use custom coded bc since you do not have a wall at inlet and outlet of this channel.
|
could you please elaborate your answer?
|
All times are GMT -4. The time now is 20:01. |