# Fluent adapter error

**URL:** <https://precice.discourse.group/t/fluent-adapter-error/1686>\
**Category:** Non-preCICE\
**Tags:** fluent\
**Created:** [November 27, 2023, 10:31am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686 "2023-11-27T10:31:09Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilovenili](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ilovenili/32/1663_2.png) [@ilovenili](https://precice.discourse.group/u/ilovenili)\
**Post date:** [November 27, 2023, 10:31am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/1 "2023-11-27T10:31:09Z")

</div>

hi：  
I’m doing fsi coupling in fluent and abaqus.I’m having some difficulties.  
（1）Is there a run order problem with fluent and abaqus adapters？What is the difference between the fluent adapter startup and post startup?

（2）When I start the abaqus adapter first and then the fluent adapter, fluent gives the following error message，can you tell me why? very thanks：

 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/3/37de62e709ebc5281f86b94329b17a75e11a46e7.png)

---

<div class="post-metadata">

**Author:** ![IshaanDesai](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ishaandesai/32/1048_2.png) [@IshaanDesai](https://precice.discourse.group/u/IshaanDesai)\
**Post date:** [November 28, 2023, 8:22am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/2 "2023-11-28T08:22:56Z")

</div>

Hi @ilovenili

Whether there is a run order problem between Fluent and Abaqus depends on the order in which you are transferring data. Are you initializing data at the start? This could be a potential problem.

Where do you see the startup and post startup?

The error you see if unfortunately not very informative. Perhaps searching about it on the a Fluent user forum like CFDOnline could help. It seems like a Fluent problem rather than a coupling problem.

---

<div class="post-metadata">

**Author:** ![Makis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/makis/32/25_2.png) [@Makis](https://precice.discourse.group/u/Makis)\
**Post date:** [November 28, 2023, 8:58pm UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/3 "2023-11-28T20:58:07Z")

</div>

> [@ilovenili](#):
>
> When I start the abaqus adapter first and then the fluent adapter, fluent gives the following error message

I assume that you are using some command-line system that cannot show graphics.

Is this a remote machine? Instead of just `ssh`, try `ssh -Y`, to forward windows.

Is this WSL / Docker? You may need to enable X-forwarding somehow.

---

<div class="post-metadata">

**Author:** ![ilovenili](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ilovenili/32/1663_2.png) [@ilovenili](https://precice.discourse.group/u/ilovenili)\
**Post date:** [December 7, 2023, 7:57am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/4 "2023-12-07T07:57:59Z")

</div>

it’s wsl ubuntu, and not remote machine, all are do in one computer

---

<div class="post-metadata">

**Author:** ![ilovenili](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ilovenili/32/1663_2.png) [@ilovenili](https://precice.discourse.group/u/ilovenili)\
**Post date:** [December 7, 2023, 8:07am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/5 "2023-12-07T08:07:24Z")

</div>

and other error is :  
int Fluent\_21\_2\_0 adapter, and in Cavity2D example, xml is as follow:

 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/b/bbfc650cae9c9a10aec84ac6ff8ee934f538839a.png)  
it should be consistent for “moving\_base\_nodes”?  
@IshaanDesai @Makis

---

<div class="post-metadata">

**Author:** ![IshaanDesai](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ishaandesai/32/1048_2.png) [@IshaanDesai](https://precice.discourse.group/u/IshaanDesai)\
**Post date:** [December 11, 2023, 7:28am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/6 "2023-12-11T07:28:14Z")

</div>

@ilovenili you are right, having a `conservative` mapping for displacements does not make any sense. It needs to be `consistent`.

---

<div class="post-metadata">

**Author:** ![IshaanDesai](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ishaandesai/32/1048_2.png) [@IshaanDesai](https://precice.discourse.group/u/IshaanDesai)\
**Post date:** [December 12, 2023, 7:33am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/7 "2023-12-12T07:33:54Z")

</div>

I have pushed the correction to the config file of the Cavity2D example. Thanks for this @ilovenili .

---

<div class="post-metadata">

**Author:** ![ilovenili](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ilovenili/32/1663_2.png) [@ilovenili](https://precice.discourse.group/u/ilovenili)\
**Post date:** [December 13, 2023, 7:39am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/8 "2023-12-13T07:39:56Z")

</div>

@IshaanDesai  
I have another little question that has nothing to do with this thread, it’s just too much trouble to start another one:  
The question is: if it’s an implicit containment subcycle, do you need to get data from the other side at each time step, or only get the other side’s data in the last time step?

 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/8/8807af7679400d8c16664c4d07a6928011443b9f.png)

---

<div class="post-metadata">

**Author:** ![IshaanDesai](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ishaandesai/32/1048_2.png) [@IshaanDesai](https://precice.discourse.group/u/IshaanDesai)\
**Post date:** [December 13, 2023, 12:25pm UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/9 "2023-12-13T12:25:52Z")

</div>

I do not understand your question, do you mean _do you need to get data from the other side at implicit iteration, or only get the other side’s data once per time step?_ Or is this not what you mean.

---

<div class="post-metadata">

**Author:** ![ilovenili](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ilovenili/32/1663_2.png) [@ilovenili](https://precice.discourse.group/u/ilovenili)\
**Post date:** [December 14, 2023, 1:18am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/10 "2023-12-14T01:18:07Z")

</div>

i only want to know how precice works.  
it’s that:  
at implicit iteration, precice read the other side’s data once per time step? or precice only read the other side’s data at last time step? or we can set it in xml file?

---

<div class="post-metadata">

**Author:** ![IshaanDesai](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ishaandesai/32/1048_2.png) [@IshaanDesai](https://precice.discourse.group/u/IshaanDesai)\
**Post date:** [December 14, 2023, 8:51am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/11 "2023-12-14T08:51:57Z")

</div>

preCICE will read the data once per time step, from the perspective of the solver which is reading the data. The actual transfer of data from one side to the other happens in the `advance()` call, so when you call `readData(...)`, preCICE is giving you the latest data it got from the other side.

---

<div class="post-metadata">

**Author:** ![ilovenili](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ilovenili/32/1663_2.png) [@ilovenili](https://precice.discourse.group/u/ilovenili)\
**Post date:** [December 14, 2023, 8:56am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/12 "2023-12-14T08:56:52Z")

</div>

> [@IshaanDesai](#):
>
> preCICE will read the data once per time step, from the perspective of the solver which is reading the data. The actual transfer of data from one side to the other happens in the `advance()` call, so when you call `readData(...)`, preCICE is giving you the latest data it got from the other side

Previously I only knew that data had to be exchanged at the time window, now I know that by calling readdata… , we can exchange data with each other at any time, it’s right?

---

<div class="post-metadata">

**Author:** ![Makis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/makis/32/25_2.png) [@Makis](https://precice.discourse.group/u/Makis)\
**Post date:** [December 17, 2023, 3:56pm UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/13 "2023-12-17T15:56:37Z")

</div>

@ilovenili please make a new thread per new major question. I consider the original question about Fluent as answered already.

Regarding your last point here: You can write and read data multiple times in a coupling time window, but data exchange will happen only inside an `advance()`. With time interpolation, you can also ask for interpolated values in `readData(...)`.

Let’s continue in different threads.

---

<div class="post-metadata">

**Author:** ![ilovenili](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ilovenili/32/1663_2.png) [@ilovenili](https://precice.discourse.group/u/ilovenili)\
**Post date:** [December 18, 2023, 1:14am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/14 "2023-12-18T01:14:40Z")

</div>

> [@Makis](#):
>
> please make a new thread per new major question. I consider the original question about Fluent as answered already.
> 
> Regarding your last point here: You can write and read data multiple times in a coupling time window, but data exchange will happen only inside an `advance()`. With time interpolation, you can also ask for interpolated values in `readData(...)`.
> 
> Let’s continue in different threads.

ok，we will continue in next thread

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/precice/original/1X/67d2a5fa6f80e597e2267ff17fa8c1673cd11caa.svg) [@system](https://precice.discourse.group/u/system)\
**Post date:** [December 21, 2023, 1:15am UTC](https://precice.discourse.group/t/fluent-adapter-error/1686/15 "2023-12-21T01:15:04Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
