Dear Spencer and David,

Thanks for your response. 

1) Yes, I am running a passive scalar using a forcing term to couple the scalar. The code was working well for 2D base flow and 2D perturbation, but there was an issue with the  HalfMode calculation. Now, this is resolved as there was a bug in “LinearisedAdvection::UpdateGradBase”. It was not including the passive scalar because of condition “if var<2” for "HalfMode". Now, when I change it to “if var < 4”, it works. 

2) David: I tried your suggestion, but it doesn't work. 
I think we need a module to perform inverse Fourier transform in the homogeneous direction of the eigenmode obtain from the HalfMode calculation.

Again thanks a lot to both for your help. 

With regards
Abhishek   


On Tue, Nov 20, 2018 at 1:58 PM Moxey, David <D.Moxey@exeter.ac.uk> wrote:
Hi both,

This might be possible without doing anything fancy, unless I am forgetting how the half mode output looks like. Have you tried just doing:

FieldConvert session.xml halfmode.fld out.vtu

where session.xml has been set up as a 3DH1D problem? This might then just populate the mean mode and zero the rest of the spectrum so you will get the mean mode output.

Cheers,

Dave

> On 20 Nov 2018, at 13:24, Sherwin, Spencer J <s.sherwin@imperial.ac.uk> wrote:
>
> Dear Abhishek,
>
> I have just been trying to catch up on your thread with Stan.  Do I understand you have the stability now running correctly with a passive scalar using a forcing term to couple the scalar?
>
> If  I next understand your question you want to plot the output from a half mode eigenfield as a 3D image?  This certainly used to be possible although I have not played with this bit of code for a while. Essentially we need to add a mean mode component to the eigenmode to make it a full 3D1H expansion and then FieldConvert should work.
>
> I will try and have a dig around and see what might allow you to do this since I cannot see anything in the user-guide.
>
> Cheers,
> Spencer.
>
>> On 10 Nov 2018, at 07:43, Abhishek Kumar <abhishek.kir@gmail.com> wrote:
>>
>>
>> Hi friends,
>>
>> I think I have not explained my problem properly in my last email. 
>>
>> Actually, I am doing biGlobal linear stability analysis with HalfMode, which yields eigenmode on a 2D plane. Now I want to reconstruct the eigenmode in 3D, which will require inverse Fourier transform.  I have check one of the examples in the manual for the Floquet analysis of a of flow past a cylinder. There is a plot for the eigenmode at z=2 [Figure 10.25 of the manual].
>>
>> Thus, I want to know which module is used to convert the eigenmode in 3D.
>>
>> I would be highly thankful for the comments on this issue.
>>
>>
>> With regards
>> Abhishek Kumar
>>
>> ---------------------------------------------------------------------------------------
>> Abhishek Kumar
>> Research Associate
>> Applied Mathematics Research Centre
>> Coventry University, Coventry CV1 5FB
>> The United Kingdom
>>
>> Email # ac7600@coventry.ac.uk, abhishek.kir@gmail.com
>> ---------------------------------------------------------------------------------------
>> _______________________________________________
>> Nektar-users mailing list
>> Nektar-users@imperial.ac.uk
>> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
>
> Spencer Sherwin FREng, FRAeS
> Head, Aerodynamics,
> Director of Research Computing Service,
> Professor of Computational Fluid Mechanics,
> Department of Aeronautics,
> s.sherwin@imperial.ac.uk                                   South Kensington Campus,
> Phone: +44 (0)20 7594 5052                              Imperial College London,
> Fax:   +44 (0)20 7594 1974                               London, SW7 2AZ,  UK
> http://www.imperial.ac.uk/people/s.sherwin/
>
> _______________________________________________
> Nektar-users mailing list
> Nektar-users@imperial.ac.uk
> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users



--
With regards
Abhishek Kumar

---------------------------------------------------------------------------------------
Abhishek Kumar
Research Associate
Applied Mathematics Research Centre
Coventry University, Coventry CV1 5FB
The United Kingdom

Email # ac7600@coventry.ac.ukabhishek.kir@gmail.com
---------------------------------------------------------------------------------------