|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Join Date: Jan 2010
Location: Canada
Posts: 101
Rep Power: 5 ![]() |
Hi,
Is there a way to couple two separated 3D models (opened in 2 Fluent instances) at a boundary? And run an interaction sequence back and forth between both models (see picture): 1. Solve model 1 2. Write heat flux profile of the coupled boundary 3. Read profile from model 1 in model 2 at the coupled boundary 4. Solve model 2 5. Write temperature profile of the coupled boundary 6. Read profile from model 2 in model 1 at the coupled boundary 7. Return to step 1 and so on. A scheme commands journal file? A complex journal file? Fluent TUI commands from an external program? Impossible in Workbench: the "model coupling" apparatus doesn't accept 2 Fluent models. The 2-way coupling that I want to perform is pretty simple, I don't know why it's not implemented in Workbench yet, in a general way, in order to couple 2 separated models. I'm a bit confused as to where to start! Frank Last edited by macfly; May 11, 2013 at 12:11. |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
|
i will go for the complex journal file... doable but complicated. you mentioned "return to step 1 and so on"... it sounds like a loop. that is not doable with a journal file.
otherwise it should be something like: /read model 1 /solve 1000 /export-profile temperature (not the actual command, it is just an exemple) /read model 2 /read-profile temperature and so on... good luck finding those command tough |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2010
Location: Canada
Posts: 101
Rep Power: 5 ![]() |
Hi diamondx,
Thanks for your suggestion, it would be pretty easy to implement, but here's the flaw: a whole lot of time wasted loading the models at each coupling. Suppose there is thousands of time steps and the model takes a 10-15 seconds to be read, a lot of wasted CPU time there. I need to have 2 Fluent windows opened, each one having their respective model loaded, ready to read a profile from the other model and iterate. But I don't know how I can tell, say model 2, to wait for the profile from model 1 and then iterate, and vice versa. Any skilled programmers around? |
|
|
|
|
|
|
|
|
#4 |
|
New Member
rayolau
Join Date: Aug 2012
Posts: 14
Rep Power: 2 ![]() |
Hi macfly, I'm working in the same idea like you. I think we need udf for write profiles and then TUI commands for stop and continue the calculate for wait the profiles of the other model.
I'm looking for this commands, but I don't find nothing interesting. You have any idea about this? Thanks and good luck! |
|
|
|
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jan 2010
Location: Canada
Posts: 101
Rep Power: 5 ![]() |
Hi rayolau,
I'm working on a scheme code and it looks good, I think I'm getting there. Scheme language is vast, It's just a matter of finding the right commands. I'll post my code later, I'm in a conference rush this week... later |
|
|
|
|
|
|
|
|
#6 |
|
Super Moderator
|
@macfly... what conference you attending ? the combustion institute ?
|
|
|
|
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Jan 2010
Location: Canada
Posts: 101
Rep Power: 5 ![]() |
right on Ali
|
|
|
|
|
|
|
|
|
#8 |
|
Super Moderator
|
I'm in the process of making a badge for you... haha
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 07:00 |
| An error has occurred in cfx5solve: | volo87 | CFX | 4 | November 27, 2012 05:33 |
| CFX13 Post Periodic interface | EtaEta | CFX | 7 | December 8, 2011 17:15 |
| Solver error message!!! | IoSa | CFX | 1 | September 14, 2006 04:48 |
| Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... | 2 | July 15, 2005 04:15 |